Checking Exsistance of a Variable?

They have: 4 posts

Joined: Aug 2004

Is is possible to check the exsistance of a variable?

I am wanting to use checkboxes in a form, but I know that if it is not checked then the variable is not even created. Is there anyway to see if a variable was created or not?

KarenArt's picture

She has: 354 posts

Joined: May 2001

If you're using php you could use...

if (isset($variable)){code to exicute if varible exist;}

Hope that helps!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.