Revision: 10988
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 20, 2009 20:58 by karindalziel
Initial Code
<?
$searchField = $_REQUEST["searchField"];
if (empty($searchField)){
print <<<HERE
<form>
Please enter your name:
<input type = "text"
name = "searchField"><br>
<input type = "submit">
</form>
HERE;
} else {
print "<a href=\"http://google.com/search?q=";
print $searchField;
print "\">Click Here</a>";
} //end
?>
Initial URL
Initial Description
I'm trying to find a way to auto forward to the constructed URL instead of just providing a link.
Initial Title
Constructing a URL
Initial Tags
Initial Language
PHP