|
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.
Navigation:
[Reply to this message]
|