roldahayes Posted November 22, 2010 Share Posted November 22, 2010 Hi, I am having trouble getting this generated URL to work. it should jump to a confirmation page with the end of the URL being confirmation.php?oid= and then the order number that has already been collected in the page. Can anyone see anything obvious with how I have written it that would stops this working? $goto_page = "http://webaddress.co.uk/confirmation.php?oid=".$_GET["oid"]. Link to comment https://forums.phpfreaks.com/topic/219478-help-with-this-url-please/ Share on other sites More sharing options...
Pikachu2000 Posted November 22, 2010 Share Posted November 22, 2010 $goto_page = "http://webaddress.co.uk/confirmation.php?oid=".$_GET['oid']; -- OR -- $goto_page = "http://webaddress.co.uk/confirmation.php?oid={$_GET['oid']}"; Link to comment https://forums.phpfreaks.com/topic/219478-help-with-this-url-please/#findComment-1137988 Share on other sites More sharing options...
roldahayes Posted November 23, 2010 Author Share Posted November 23, 2010 Excellent, the second option works great! Link to comment https://forums.phpfreaks.com/topic/219478-help-with-this-url-please/#findComment-1138314 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.