Posted by Rik on 10/13/83 11:29
Greg wrote:
>> Or check specifically:
>> if($_POST['action'] == 'submit'){
>> ## Do whatever
>> }
>>
>
> If you did it this way, wouldn't this value return as true even if
> the form was submitted blank?
Yep, inputvalidation is another thing.
To check if something's left blank:
if (!$_POST['tagname'] ){}
Grtz,
Rik
Navigation:
[Reply to this message]
|