[SOLVED] - How to send and get the parameter by URL?
Posted: Tue Apr 22, 2008 6:12 pm
Hi friends,
A simple question,
see:
http://localhost/cmsmadesimple/index.ph ... ct&id=2532
How I get the ID come from the URL?
in my definition tag I put this:
$sql = mysql_query("SELECT * FROM table WHERE id = '". $_GET['id'] ."'");
but dont working...
any suggestion?
this my viewproducts page:
A simple question,
see:
http://localhost/cmsmadesimple/index.ph ... ct&id=2532
How I get the ID come from the URL?
in my definition tag I put this:
$sql = mysql_query("SELECT * FROM table WHERE id = '". $_GET['id'] ."'");
but dont working...
any suggestion?
this my viewproducts page:
Select an Product: [Select an Product] {databaseconex}{queryselectproduct}