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

The topic title suggests that this is a question, yet the content looks like a recommendation ... and a wrong one.

$this->session->userdata('username') returns the value of your 'username' item (or NULL if it doesn't exist, in CI3), not TRUE/FALSE.
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 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