preg_matchhttp://softtime.ru/forumpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385504-preg_matchMon, 29 Jun 2009 20:00:58 +0300AcidTrashpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385206не поленитесьpreg_matchSat, 27 Jun 2009 19:34:30 +0300Ромаpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385204Ну видимо я уже пытался так делать. Не работает этот код потому, что при function check() { $data =...preg_matchSat, 27 Jun 2009 19:29:13 +0300IAndipreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385202function check($a,$b,$c) { // здесь можно оперировать с $a,$b и $c, и больше не с какими переменными. // я так...preg_matchSat, 27 Jun 2009 19:24:08 +0300Ромаpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385196ну видимо нужно просто указать, что они глобальные.preg_matchSat, 27 Jun 2009 19:16:12 +0300Trianonpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385195Может тогда подскажешь как сделать что-бы это работало с глобальными переменными?preg_matchSat, 27 Jun 2009 19:14:47 +0300IAndipreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385187я не знаю ничего про скрипты и про инклуды. Я вижу функцию. А в ней попытку использовать локальные переменные. Которые...preg_matchSat, 27 Jun 2009 19:04:21 +0300Trianonpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385186Они определенны в другом скрипте, а этот инклудится туда.preg_matchSat, 27 Jun 2009 19:02:51 +0300IAndipreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385185неопределенные переменные.preg_matchSat, 27 Jun 2009 19:00:05 +0300Trianonpreg_matchhttp://softtime.ru/forum/read.php?id_forum=6&id_theme=66136#post385170Подскажите, где в этом коде ошибка function check() { $data = array('$a', '$b', '$c'); if (isset($_REQUEST)) { $data =$_REQUEST; if...preg_matchSat, 27 Jun 2009 18:37:28 +0300iandi