HooLIGUN Posted February 17, 2018 Report Share Posted February 17, 2018 Вопрос возможно нубский, но чет не могу понять в чем проблема Делаю несколько переменных через get запрос. Пишу так Ссылка: /scritp?type=10&id=6275 PHP: echo $_GET['type'].'<br>'.$_GET['id'].'<br>'; Результат: 10&id 6275 Что за фигня, почему добавляется это &id ? Влепил костыль конечно, но вопрос почему так остался)) echo substr($_GET["type"],0,-11); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.