Forum Moderators: coopster
<form action="widgets.php" method="POST">
(</font></td><td><font face=arial size=2><input type="text" name="areacode" value="" size=3 maxlength=3></font></td><td><font face=arial size=2>)
</font></td><td><font face=arial size=2><input type="text" name="prefix" value="" size=3 maxlength=3>
</font></td><td><font face=arial size=2> - XXXX
</font></td><td><font face=arial size=2>
<input type="submit" value="Search">
</font></td></tr></form>
PHP Code on widgets.php - the values don't show only 'your area code' and 'your prefix' with out the users input:
Your area code: <?php echo $_POST["areacode"];?><br>
Your Prefix: <?php echo $_POST["prefix"];?>
Hopefully this is a simple, newbie question. =)
jd
<form action="widgets.php" method="post">
<input type="text" name="areacode" value="" size=3 maxlength=3><br>
<input type="text" name="prefix" value="" size=3 maxlength=3><br>
<input type="submit" value="Search">
</form>
You can check your php version by putting
<?php phpinfo [ca.php.net]();?>
in a file, uploading it and viewing it in your browser. It will give you all of the info regarding your php installation.