Revision: 35538
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 10, 2010 04:03 by stephcode
Initial Code
home.php: <p><a href="city.php?city=New_York_City">New York</a></p> <p><a href="city.php?city=Boston">Boston</a></p> city.php: <p>Welcome to <?php echo $_GET['city'] ?> !</p> OR - home.php: <p><a href="city.php?city=<?php echo urlencode("New York City"); ?>">New York</a></p> <p><a href="city.php?city=Boston">Boston</a></p> <p><a href="city.php?city=Rockville">Rockville</a></p> city.php: <p>Welcome to <?php echo urldecode($_GET['city']); ?> !</p>
Initial URL
Initial Description
Initial Title
Simple PHP $_GET variable
Initial Tags
php
Initial Language
PHP