Bug #13039 Updated: $submit (form) variable doesn't work

From: Date: Wed, 01 May 2002 20:23:36 +0000
Subject: Bug #13039 Updated: $submit (form) variable doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6666@lists.php.net to get a copy of this message
ID: 13039 Updated by: ppoyet@cvm.qc.ca Reported By: jasper@rci.tmfweb.nl Status: Bogus Bug Type: Arrays related Operating System: Windows 2000 PHP Version: 4.0.6 New Comment: I have the same problem Previous Comments: ------------------------------------------------------------------------ [2001-08-29 14:04:33] jeroen@php.net See php.net/support.php for support questions. This makes no sense, $submit is never setted in your script... ------------------------------------------------------------------------ [2001-08-29 13:48:52] jasper@rci.tmfweb.nl 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 this bug report at http://bugs.php.net/?id=13039&edit=1

« previous php.bugs (#6666) next »