Welcome Guest, Not a member yet? Register   Sign In
How to check the photo is selected when try to upload a photo
#5

[eluser]boltsabre[/eluser]
no worries, at least you now know that you cant make a variable and then check isset() against it!!!

However, that may change in CI3, check this out: http://ellislab.com/forums/viewthread/215833/

But yeah, currently post variables return false if not set, when more than likely they should return null.

Try this just for your own knowledge:
Code:
$var = false;
if(isset($var)){
   echo "here";
}else{
   echo "not here";
}
//and now change $var = null; and see the difference.


Messages In This Thread
How to check the photo is selected when try to upload a photo - by El Forum - 04-24-2012, 09:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB