ChrisMartino Posted November 1, 2009 Share Posted November 1, 2009 Hello there, I'm kinda new to PHP, Now i was wondering if you could help me, I'm wanting to do something so when somebody clicks a product on the page products it dose "gameservers.php?product=samp" how would i code this so when they clicked that it showed the prices for "samp", and say they clicked autorider it did "gameservers.php?product=autorider" and showed the prices for them?, Thanks in advance. Chris (Newb @ PHP) Link to comment https://forums.phpfreaks.com/topic/179864-help-with-doing-php-page-eg-indexphpactionproducts/ Share on other sites More sharing options...
smerny Posted November 1, 2009 Share Posted November 1, 2009 you mean in a form or a link? link would be like... <a href="gameservers.php?product=autorider">AutoRider</a> and then on whatever page that uses, make sure it is a php page... i'm not sure what you are doing though, but maybe gameservers checks if $_GET['product'] isset and then if so it will display the product.php code which will in turn generate results based on what $_GET['product'] is set to? Link to comment https://forums.phpfreaks.com/topic/179864-help-with-doing-php-page-eg-indexphpactionproducts/#findComment-948842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.