Jump to content

How to read the browser's url in php


kapishi

Recommended Posts

welcome to the forum! hope you find lots of great advice here.

to see if val= occurs in the query string of your current URL, simply use the isset() function:
[code]
if (isset($_GET['val']))
  // it is in the url
else
  // it's not in the url
[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.