php?ID=xx

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nonito
Forum Newbie
Posts: 1
Joined: Thu Jun 18, 2009 3:14 pm

php?ID=xx

Post by nonito »

I am new to php and from an example I try to make a web page which contains html and php pages.
In the example the php page has a link to <a href="example.php?ID=10"> or <a href="example.php?recordID=20">.
The "ID´s" are text messages and become part of the page in a frame.
My problem is how do I have to make these ID´s (format?). because I cannot locate these ID´s in the example.
Thanks for your help.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: php?ID=xx

Post by pickle »

I'm not sure what you mean here:
nonito wrote:The "ID´s" are text messages and become part of the page in a frame.
My problem is how do I have to make these ID´s (format?). because I cannot locate these ID´s in the example.
A link to example.php?id=10 will load example.php. In example.php, $_GET['id'] will equal 10.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply