niche Posted August 4, 2010 Share Posted August 4, 2010 if the key exists, using array_key_exists(), a "1" is returned. What's returned if the key doesn't exist because I need a while loop that cycles if the key doesn't exist ? Link to comment Share on other sites More sharing options...
niche Posted August 4, 2010 Author Share Posted August 4, 2010 It's a 0 (i forgot the double equal). Link to comment Share on other sites More sharing options...
justsomeguy Posted August 5, 2010 Share Posted August 5, 2010 It's actually a boolean true and false, they just print as 1 and 0. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.