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
Stangguy
Forum Newbie
Posts: 12 Joined: Thu Feb 01, 2007 9:31 pm
Post
by Stangguy » Sat Feb 10, 2007 7:17 pm
When I used to mess around coding in .ASP you could put varibles in a link like this:
http://www.test.com/getbook.asp?book=1234
Can you do this sort of coding in PHP? What does the code look like?
Thanks,
Al
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Sat Feb 10, 2007 7:22 pm
Of course. And the link looks exactly the same.
You retrieve the variables from an array called $_GET[].
Stangguy
Forum Newbie
Posts: 12 Joined: Thu Feb 01, 2007 9:31 pm
Post
by Stangguy » Sat Feb 10, 2007 7:28 pm
Thanks.
Stangguy
Forum Newbie
Posts: 12 Joined: Thu Feb 01, 2007 9:31 pm
Post
by Stangguy » Sat Feb 10, 2007 7:36 pm
Fixed it thanks!