eldan88 Posted May 27, 2013 Share Posted May 27, 2013 Hey, I am trying create a condition, if the constant is not !=NULL or if it is !=0 then display the constant. However my php editor is showing me an error on that line. Below my code. Thanks! if(STORE_MIN_DELIVERY !=0 && !=NULL ){ } Link to comment https://forums.phpfreaks.com/topic/278449-question-about-an-if-condition/ Share on other sites More sharing options...
Barand Posted May 27, 2013 Share Posted May 27, 2013 if(STORE_MIN_DELIVERY !=0 && STORE_MIN_DELIVERY !=NULL ) Link to comment https://forums.phpfreaks.com/topic/278449-question-about-an-if-condition/#findComment-1432627 Share on other sites More sharing options...
eldan88 Posted May 28, 2013 Author Share Posted May 28, 2013 if(STORE_MIN_DELIVERY !=0 && STORE_MIN_DELIVERY !=NULL ) Thanks Barand! Link to comment https://forums.phpfreaks.com/topic/278449-question-about-an-if-condition/#findComment-1432637 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.