On Mon, 19 Feb 2001 11:54, Matthew Delmarter wrote:
> I want to check to see if all vars in HTTP_GET_VARS array are empty.
> How can I do this?
>
> The code would work like this:
>
> if(all HTTP_GET_VARS empty):
>       do this;
> else:
>       echo this;
> endif;
>
>
>
>
> Regards,
>
> Matthew Delmarter

Seeing it is an array, you could use sizeof to determine the number of 
elements and go from there.

-- 
David Robley                        | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet                            | http://auseinet.flinders.edu.au/
            Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to