boo_lolly Posted November 16, 2006 Share Posted November 16, 2006 i'm building a small part of a CMS. four pages to be exact. obviously sql is involved. many removing and creating tables or rows, retrieving sql arrays. basic but a lot of it.. what i'd like to do, tho, is take this opportunity to learn how to impliment page ID's. does anybody have a link, a tutorial, or just plain old advice? what is one afforded by using this method of navigation? thanks in advance. Link to comment https://forums.phpfreaks.com/topic/27413-yourdomaincomindexphppageid17/ Share on other sites More sharing options...
tomfmason Posted November 16, 2006 Share Posted November 16, 2006 Well simply put that is the GET method.Here is a simple example[code=php:0]$pageid = mysql_real_escape_string(trim($_GET['pageid']));[/code]Now you can use $pageid to get all of the nessicary data..Good Luck,Tom Link to comment https://forums.phpfreaks.com/topic/27413-yourdomaincomindexphppageid17/#findComment-125395 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.