isset() function
----- Original Message ----- 
From: "James Bartlett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 12:43 PM
Subject: [PHP] Help with a variable


Hi,

Is there some way that I can check to see if a variable is present?

e.g.

if (variable is not present)
{
set variable to 0;
}
else
{
some code that uses variable;
}

Thanks for any advice.

James



-- 
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