Hi,
I can pass a variable to a page in the URL but cannot use it in a mySQL query.
The variable passed is "id". Say it is equal to 3 so the url looks like .....sim.php?id=3
I can print this on a page. But as I say i cannot use it in a mySQL query:
"SELECT * FROM sim WHERE id = '$id'"
Do i need to do something with $HTTP_GET_VARS['id']?????????
Someone please help?
Thanks in advance,
Dave.