I want to put information into the url of a php page. From that page I want to be able to get the information out of the url address. Right now I send this url to my viewinfo.php file:
http://www.sigmanu-etazeta.com/viewinfo.php?pnum=1019
From viewinfo.php I use $_GET['pnum'] and it doesn't actually give me a value.
Here is the actual code (used to sort data in a mysql)
$sql = "SELECT * FROM Registered WHERE UserPIN = '" . $_GET['pnum'] . "'";
this doesn't work for some reason. Anybody know how to fix this?