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

From: Date: Wed, 29 Aug 2001 17:48:52 +0000
Subject: Bug #13039: $submit (form) variable doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-64652@lists.php.net to get a copy of this message
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



Thread (2 messages)

« previous php.dev (#64652) next »