I'm using the following string to get items from my database:
mysql_query("SELECT * FROM tracking WHERE track_id = '123' ");
I want to get the 123
from the url using a process similar to echo $_GET['id'];
so when the url is "http://example.com/?id=456" the string will apear as below:
mysql_query("SELECT * FROM tracking WHERE track_id = '456' ");
Any help would be greatly appreciated.