ichversuchte Posted August 22, 2006 Share Posted August 22, 2006 I need to pull a value from the url that is passed. Say that the url is this:http://www.forthestudentsbooks.com/usersendinginfo.php?lid=26I need to get the 26 from the url so that I can use it on the page im working with. What would the code look like to do this?Thank you Link to comment https://forums.phpfreaks.com/topic/18296-help-pulling-info-from-url/ Share on other sites More sharing options...
trq Posted August 22, 2006 Share Posted August 22, 2006 [code=php:0]if (isset($_GET['lid'])) { $lid = $_GET['lid'];}echo $lid;[/code] Link to comment https://forums.phpfreaks.com/topic/18296-help-pulling-info-from-url/#findComment-78587 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.