RE: [PHP-DEV] Bug #13039: $submit (form) variable doesn't work
| From: | Emanuel Dejanu | Date: | Thu, 30 Aug 2001 12:11:42 +0000 |
| Subject: | RE: [PHP-DEV] Bug #13039: $submit (form) variable doesn't work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64700@lists.php.net to get a copy of this message | ||
Try
if(!isset($submit) {
... //display the form
} else {
// process the form
...
}
> -----Original Message-----
> From: jasper@rci.tmfweb.nl [mailto:jasper@rci.tmfweb.nl]
> Sent: Wednesday, August 29, 2001 8:49 PM
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] Bug #13039: $submit (form) variable doesn't work
>
>
> From: jasper@rci.tmfweb.nl
> Operating system: Windows 2000
> PHP version: 4.0.6
> PHP Bug Type: Arrays related
> Bug description: $submit (form) variable doesn't work
>
> I have a problem with a page that writes a form on page. What
> is unusual
> though is that it tries to identify if the form has been
> submitted or not.
> The script I am basing my work on is presumably made for an older PHP
> version. And I cant get it my version 4.06 on IIS 5.0 (win2k) to work.
>
>
>
> Any ideas??
>
>
>
> if(!$submit)
>
> {
>
> // form not yet submitted, display form
>
>
>
> <form action="<? echo $PHP_SELF; ?>" method="post">
>
> <p>
>
> <ul>
>
> <li>with skills matching the keywords
>
> <input type=text name=skills size=35>
>
> </ul>
>
> <center>
>
> <input type="submit" name="submit" value="Search">
>
> </center>
>
> </form>
>
> <?
>
> }
>
> else
>
> {....
> --
> Edit bug report at: http://bugs.php.net/?id=13039&edit=1
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>