sehrawat350 Posted March 23, 2010 Share Posted March 23, 2010 hello brothers i have to make a new php script exactoly as this this script grab the last number of a url for example www.example.com/index.php?id=34 so this script grab the 34 number i want to make this script but i dont have much knowledge of php plz tell me how to start writng this script thanks Link to comment https://forums.phpfreaks.com/topic/196296-plz-help-me-bro-to-make-a-script/ Share on other sites More sharing options...
lynxus Posted March 23, 2010 Share Posted March 23, 2010 to grab the number? in index.php do: $number = $_GET['id']; echo "$number"; ( Will print 34 ) Link to comment https://forums.phpfreaks.com/topic/196296-plz-help-me-bro-to-make-a-script/#findComment-1030800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.