Hi all,
If the url is mydomain.com/page.php?type=fish
how can I output the text string "fish" in my page (it is just for some wireframing it is really basic). Thank-you
| SitePoint Sponsor |



Hi all,
If the url is mydomain.com/page.php?type=fish
how can I output the text string "fish" in my page (it is just for some wireframing it is really basic). Thank-you
print $_GET['type'];



Thats cool
How do I say
if $_GET['type'];
is something
then set it to a variable? Then I will just echo the result
Thanks Im just moving over from coldfusion to php
Umang Parikh
http://www.technotrack.co.nz/
echo $_GET['type'];
will output fish
Bookmarks