optikalefx Posted July 27, 2007 Share Posted July 27, 2007 i have a URL http://www.4tenproductions.com/jrframe.php?myTable=JohnRobberts and i want to get that variable so i use $table = $_GET['myTable']; but when i do that, the page is blank but if i comment out that line, the page shows up (minus the variable of course) ??? Link to comment https://forums.phpfreaks.com/topic/61977-solved-php-variables-from-a-url-page-is-blank/ Share on other sites More sharing options...
hvle Posted July 27, 2007 Share Posted July 27, 2007 can you post a few line of codes BEFORE and AFTER that $table=$_GET['myTable']; line? Link to comment https://forums.phpfreaks.com/topic/61977-solved-php-variables-from-a-url-page-is-blank/#findComment-308603 Share on other sites More sharing options...
optikalefx Posted July 27, 2007 Author Share Posted July 27, 2007 the problem was that i was trying to get a page within a frame to get the data from the url where the varaible was in the main frame page url, and it needed to be in the url of the inner frame Link to comment https://forums.phpfreaks.com/topic/61977-solved-php-variables-from-a-url-page-is-blank/#findComment-308637 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.