...

View Full Version : variable exist?



alcool9999
10-28-2009, 10:43 AM
hi i need to check wether a variable exists or not.

thanks

seco
10-28-2009, 10:58 AM
if ($var){
echo "yup";
}

abduraooft
10-28-2009, 12:28 PM
Use isset (http://php.net/isset)() function to avoid Undefined warnings



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum