simplyrichard Posted October 27, 2008 Share Posted October 27, 2008 How do you write this correctly? if ($_SESSION['jobs'] IS NOT NULL){ Thanks, Richard Link to comment https://forums.phpfreaks.com/topic/130312-how-do-you-write-this-correct-if-_sessionjobs-is-not-null/ Share on other sites More sharing options...
Andy-H Posted October 27, 2008 Share Posted October 27, 2008 if (isset($_SESSION['jobs'])){ Link to comment https://forums.phpfreaks.com/topic/130312-how-do-you-write-this-correct-if-_sessionjobs-is-not-null/#findComment-675841 Share on other sites More sharing options...
rhodesa Posted October 27, 2008 Share Posted October 27, 2008 if(!is_null($_SESSION['jobs'])){ Link to comment https://forums.phpfreaks.com/topic/130312-how-do-you-write-this-correct-if-_sessionjobs-is-not-null/#findComment-675847 Share on other sites More sharing options...
DarkWater Posted October 27, 2008 Share Posted October 27, 2008 if (!empty($_SESSION['jobs'])) { Link to comment https://forums.phpfreaks.com/topic/130312-how-do-you-write-this-correct-if-_sessionjobs-is-not-null/#findComment-676055 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.