Hello. Tell me how to pull out one parameter from the string, and output it via echo? There is a GET request of the form mysite.ru/start?id=xxxxx&city=xxx
It is necessary to pull out the id and just output as text via echo
Hello. Tell me how to pull out one parameter from the string, and output it via echo? There is a GET request of the form mysite.ru/start?id=xxxxx&city=xxx
It is necessary to pull out the id and just output as text via echo
To do this, you can access the $_GET array, where all GET parameters are placed
<?php echo $_GET['id']; See documentation: $ _GET
Source: https://ru.stackoverflow.com/questions/554221/
All Articles