substr_replacehttp://softtime.ru/forumsubstr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437156"? $start = intval($_POST); $len = strlen($_POST); echo substr_replace($_POST,$_POST,$start,$len); ?" "form method="post"" "textarea name="txt" rows="7" cols="25" ""/textarea" Введите номер символа...substr_replaceWed, 2 Jun 2010 19:42:42 +0300sim5substr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437150Функция обрезает, но не заменяет!substr_replaceWed, 2 Jun 2010 18:43:58 +0300Гавриленко Дмитрийsubstr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437146Что значит толком не работает?substr_replaceWed, 2 Jun 2010 17:52:29 +0300Axxilsubstr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437132Спасибо! А почему толком не работает?substr_replaceWed, 2 Jun 2010 14:24:30 +0300Гавриленко Дмитрийsubstr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437131проблема в том, что надо повнимательнее быть $replacement = $_GET; substr_replaceWed, 2 Jun 2010 14:12:33 +0300Axxilsubstr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437130$_POST у вас откуда приходит?substr_replaceWed, 2 Jun 2010 14:11:49 +0300Dragosubstr_replacehttp://softtime.ru/forum/read.php?id_forum=1&id_theme=74217#post437126Проблема в том, что не происходит замена текста "? if(!isset($_GET) or !isset($_GET) or !isset($_GET)) { echo ""form method=get" "textarea...substr_replaceWed, 2 Jun 2010 12:55:42 +0300Гавриленко Дмитрий