/ Published in: PHP
                    
                                        
I'm trying to find a way to auto forward to the constructed URL instead of just providing a link.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?
$searchField = $_REQUEST["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
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                