Reply to Re: How do I set $submit.

Your name:

Reply:


Posted by Simon Long on 10/20/05 22:45

juglesh wrote:
> 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" >
>
Hi Juglesh,
Boy do you know how to make a guy feel stupid.
Don't know how I could have overlooked that, but I did.
Thanks for your help,
Best wishes,
Simon.

P.S. Also, thanks to Tobierre and Geoff for answering my post too.

[Back to original 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

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