When I use the code <?php $path = $_SERVER['REQUEST_URI']; echo $path; ?> PHP: I get an echo similar to "/example/index.php?a=test". I was wondering it it was possible only to echo out what follows the "=" sign? Any ideas?
ya use preg_split, through this you can do that, but i dont know exactly.........! it's my idea..! but it is possible with that sure.
You can access the full query string only (the bit after ?) by using $_SERVER['QUERY_STRING'] If you know which variable you are trying to get the value of, you can access it, as per your example, as $_GET['a']