anshugiri Posted June 26, 2007 Share Posted June 26, 2007 hi, can i pass a url parameter such as: index.php?link=products_detail.php?id_product=<?php echo $row_rs_products['id_product']; ?> I have a page with an INCLUDE for the link passed as URL Parameter...however, it isnt working. What could make this work? Basically, the url paramater itself is a link with a url parameter thanks Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted June 27, 2007 Share Posted June 27, 2007 once you have one query string (?), all others need to be an ampersand (&). so your link would look like this: index.php?link=products_detail.php&id_product=<?php echo $row_rs_products['id_product']; ?> Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted June 27, 2007 Share Posted June 27, 2007 why u want code in the URL better to handle it with a switch or if/elseif commands Quote Link to comment Share on other sites More sharing options...
mmarif4u Posted June 27, 2007 Share Posted June 27, 2007 Or i think sessions will be better than GET function. Quote Link to comment Share on other sites More sharing options...
anshugiri Posted June 27, 2007 Author Share Posted June 27, 2007 thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.