AstrosMF Posted March 8, 2007 Share Posted March 8, 2007 i.e. (http://www.server.com/index.php?page=page1) I want to grab the value of "page" and use it in my coding... i used to know this but it's driving me nuts... any ideas? Michael Link to comment https://forums.phpfreaks.com/topic/41795-solved-help/ Share on other sites More sharing options...
skali Posted March 8, 2007 Share Posted March 8, 2007 $your_variable = $_GET['page'] Link to comment https://forums.phpfreaks.com/topic/41795-solved-help/#findComment-202692 Share on other sites More sharing options...
AstrosMF Posted March 8, 2007 Author Share Posted March 8, 2007 can "your_variable" and 'page' be the same? $page = $_GET['page'] or would that cause problems? Link to comment https://forums.phpfreaks.com/topic/41795-solved-help/#findComment-202695 Share on other sites More sharing options...
skali Posted March 8, 2007 Share Posted March 8, 2007 No that will not create any problem and will create a local variable $page. Link to comment https://forums.phpfreaks.com/topic/41795-solved-help/#findComment-202706 Share on other sites More sharing options...
AstrosMF Posted March 8, 2007 Author Share Posted March 8, 2007 thank you for your help! Link to comment https://forums.phpfreaks.com/topic/41795-solved-help/#findComment-202709 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.