Обучение/Помощь новичкам | $_GET
Site.ru/chat/?func=room&id=id_room&response=id_user
в этом случе как можно опредлить ид юзера?
в этом случе как можно опредлить ид юзера?
DELETED
4 мая 2016, в 16:09
Delete
shadrvlad (04.05.2016 в 16:09)
Bahh-Tee , $_GET['response']
Bahh-Tee , $_GET['response']
не помог
DELETED
4 мая 2016, в 16:13
Delete
Bahh-Tee (04.05.2016 в 16:13)
shadrvlad (04.05.2016 в 16:09)
Bahh-Tee , $_GET['response']
не помог
shadrvlad (04.05.2016 в 16:09)
Bahh-Tee , $_GET['response']
не помог
как не помог то
точнее уже не куда
значит в другом дело
Bahh-Tee , $_GET это массив, с массивами умеешь работать ?
http://php.net/manual/ru/book.array.php
http://php.net/manual/ru/reserved.variables.get.php
http://php.net/manual/ru/book.array.php
http://php.net/manual/ru/reserved.variables.get.php
shadrvlad , я хочу в базу отправить уведемления что ему ответили!
Mysql_query("insert into `notification` (`avtor`, `id_use`, `type`, `time`) values ('".$user['id']."', '".$_GET['response']."', 'chat', '$time')");
Mysql_query("insert into `notification` (`avtor`, `id_use`, `type`, `time`) values ('".$user['id']."', '".$_GET['response']."', 'chat', '$time')");
PandCar (04.05.2016 в 16:14)
Bahh-Tee , $_GET это массив, с массивами умеешь работать ?
http://php.net/manual/ru/book.array.php
http://php.net/manual/ru/reserved.variables.get.php
Bahh-Tee , $_GET это массив, с массивами умеешь работать ?
http://php.net/manual/ru/book.array.php
http://php.net/manual/ru/reserved.variables.get.php
ещо не очень то
DELETED
4 мая 2016, в 16:24
Delete
Bahh-Tee , Учи основы пыха, http://www.infospir.ru/videocourses/php/