/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php # Using QUERY_STRING $queryString = $_SERVER['QUERY_STRING']; echo "Query: " . $queryString; ?>
URL: http://www.learnphponline.com/php-basics/how-to-find-the-current-url-in-php