if ($_POST['calcentry'] == "Calc Your Entry") {

Hull, Douglas D wrote:
Just to make it simple this is my whole page for now, when putting words in the textarea 
"zwords" and hitting "calc your entry" it never goes into my if statement:

<html>
<body>
<?
if ($_POST['$calcentry'] == "Calc Your Entry") {
echo 'xxx' . $zwords . 'xxx';
} ?>
<textarea name="zwords" rows="20" cols="30" wrap />
</textarea>
<textarea name="zoutput" rows="20" cols="70" wrap />
</textarea> <BR>
<form action="<?=$_SERVER['PHP_SELF']?>" method="post"> <br>
<input type="submit" name="calcentry" value="Calc Your Entry" /> </form>
</body>
</html>
Thanks,
Doug



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to