[SOLVED]Why wont this if (isset($strlvl)) code work?
Posted: Thu Dec 07, 2006 9:21 pm
Well im trying to develop a little stat system thingy, but...
it wont let me use isset to check if it has been set or not
can you see my error? oh, and if you can fix it, how where do I put the ! so its like
if (!isset($strlvl)) so its saying if its false
- Thanks
NVM I cant belive I didnt notice, it was the wrong line lolz
it wont let me use isset to check if it has been set or not
Code: Select all
if (isset($strlvl))
{
echo 'boo';
}
else
{
$strlvl=4;
}if (!isset($strlvl)) so its saying if its false
- Thanks
NVM I cant belive I didnt notice, it was the wrong line lolz