Welcome Guest, Not a member yet? Register   Sign In
Checking if a string is empty?
#4

(This post was last modified: 04-22-2015, 10:06 AM by lexxtoronto.)

Yes, I have to mention the version too, I guess, I was referring to CI2. CI 2 session article says - Note: The function returns FALSE (boolean) if the item you are trying to access does not exist. Yes, it returns the value of 'username' if it exists and if any variable exists then it will be true. I keep forgetting about CI3, not ready to switch yet. Yes, it returns NULL in CI3 the way it should've been from the very beginning I guess.
Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time. The only people who never tumble are those who never mount the high wire.
Reply


Messages In This Thread
Checking if a string is empty? - by lexxtoronto - 04-22-2015, 08:24 AM
RE: Checking if a string is empty? - by Narf - 04-22-2015, 08:37 AM
RE: Checking if a string is empty? - by Rufnex - 04-22-2015, 08:50 AM
RE: Checking if a string is empty? - by lexxtoronto - 04-22-2015, 09:57 AM
RE: Checking if a string is empty? - by cartalot - 04-22-2015, 02:12 PM
RE: Checking if a string is empty? - by cartalot - 04-23-2015, 03:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB