Checking if a string is empty? |
@lexxtoronto
I would recommend you not to work everywhere with the session directly, hide these implementation details within a class and then use it this way: Code: if ($this->auth->is_logged_in()) { Thus, when the time comes for a upgrade you will have limited number of places to check for compatibility (FALSE -> NULL on nothing). |
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 ivantcholakov - 04-22-2015, 10:42 AM
RE: Checking if a string is empty? - by lexxtoronto - 04-22-2015, 10:56 AM
RE: Checking if a string is empty? - by cartalot - 04-22-2015, 02:12 PM
RE: Checking if a string is empty? - by lexxtoronto - 04-22-2015, 03:34 PM
RE: Checking if a string is empty? - by cartalot - 04-23-2015, 03:54 PM
RE: Checking if a string is empty? - by lexxtoronto - 04-23-2015, 04:39 PM
|