Sorry about that.  It did execute my if but shows nothing for $zwords.  
So my echo shows:   xxxxxx
after entering "cat" and pressing my calc your entry.
How do I get my value(s) I entered in to work with?

Thanks
> ----------
> From:         Marek Kilimajer
> Sent:         Friday, July 9, 2004 1:41 PM
> To:   Hull, Douglas D
> Cc:   Note To Php general List (E-mail)
> Subject:      Re: [PHP] after suubmitting, working with data on same page
> 
> 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