You are here: Re: How do I set $submit. « All PHP « IT news, forums, messages
Re: How do I set $submit.

Posted by juglesh on 10/12/86 11:29

Simon Long wrote:
> Hi
>
> I'm running PHP 5.0.0.2b on W2K 5.0.0.2195 SP4 using IIS as the http
> server (yes, I know.).
>
> I've got a form in a test.php that references itself in action and
> checks to see if the submit button has been press by
>
> 'if( isset($submit))'{
> 'do something;
> }
> else{
> do something else;
> }
>
> I've check this and $submit is never set.

maybe you need to name your button:
<input name="submit" type="submit" value="click here" >

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация