gple Posted June 29, 2007 Share Posted June 29, 2007 I am using a free host that has been upgraded to PHP5 called 65gb.com. Has anyone used this host and noticed that when I try this on one page: <a href=prod.php?sub=beef>Beef</a> which creates a link and when I click on the link I am supposed to see "Beef". The php script on the prod.php page is: echo $sub; I dont see me doing anything wrong. Any suggestions. Link to comment https://forums.phpfreaks.com/topic/57743-65gbcom-php-problem/ Share on other sites More sharing options...
wrathican Posted June 29, 2007 Share Posted June 29, 2007 you need to use this: $sub = $_GET['sub']; the $_GET[''] gets the value of the 'sub' variable and puts it into the variable sub Link to comment https://forums.phpfreaks.com/topic/57743-65gbcom-php-problem/#findComment-285892 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.