Page 1 of 1

Quick Question about LInks

Posted: Sat Feb 10, 2007 7:17 pm
by Stangguy
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

Posted: Sat Feb 10, 2007 7:22 pm
by superdezign
Of course. And the link looks exactly the same.

You retrieve the variables from an array called $_GET[].

Posted: Sat Feb 10, 2007 7:28 pm
by Stangguy
Thanks.

Posted: Sat Feb 10, 2007 7:36 pm
by Stangguy
Fixed it thanks!

Posted: Sat Feb 10, 2007 9:53 pm
by superdezign
Umm.. You're welcome. Twice.