For example, test.php?id=1
or:
test.php?id=523
How is this possible?
I know that you need records in a database for this, and I have some already, and I will post the script below I am using for the databse.I just want to know how, so it would save me from having to constantly create new pages for a seperate ID.
Could someone please explain this to me, as I really don't know.
Code: Select all
CREATE TABLE `pages` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) NOT NULL,
`username` varchar(30) default NULL,
`content` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
);