joecooper Posted August 7, 2007 Share Posted August 7, 2007 Hi, i used to PHP alot, but now its been about a year, and ive forgot! well i know most of it, but this is where i need some help (prob very simple) i am creating a program to grab images from a php page using VB, but on the php side of things, the program will put a vaible in the address bar eg, getpaper.php?ID=2452 how do i get the ID indicated in the bar? im sure it was just like using $ID but its not echoing Link to comment https://forums.phpfreaks.com/topic/63789-returning-to-php/ Share on other sites More sharing options...
nuttycoder Posted August 7, 2007 Share Posted August 7, 2007 have you tried this: getpaper.php?ID=$ID Link to comment https://forums.phpfreaks.com/topic/63789-returning-to-php/#findComment-317884 Share on other sites More sharing options...
jscix Posted August 7, 2007 Share Posted August 7, 2007 $id = ($_GET['id']); Link to comment https://forums.phpfreaks.com/topic/63789-returning-to-php/#findComment-317885 Share on other sites More sharing options...
hitman6003 Posted August 7, 2007 Share Posted August 7, 2007 echo $_GET['ID']; Link to comment https://forums.phpfreaks.com/topic/63789-returning-to-php/#findComment-317886 Share on other sites More sharing options...
joecooper Posted August 7, 2007 Author Share Posted August 7, 2007 thankyou for your help, i sure ill get the hang of it again! i even won a php coding book from pscode for best code once! hahaha Link to comment https://forums.phpfreaks.com/topic/63789-returning-to-php/#findComment-317891 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.