jesushax Posted February 22, 2008 Share Posted February 22, 2008 hi wha im trying to do is have two mutliple ifs if(isset($_SESSION['UserAdmin'])) OR ( $_SESSION["UserAdmin"] =="0") {Do Something} how do i do this? Thanks Link to comment https://forums.phpfreaks.com/topic/92415-if-somethingsomething-or-somethingelse/ Share on other sites More sharing options...
vicodin Posted February 22, 2008 Share Posted February 22, 2008 please go more indepth with that question... maybe an example of something you want to accomplish Link to comment https://forums.phpfreaks.com/topic/92415-if-somethingsomething-or-somethingelse/#findComment-473481 Share on other sites More sharing options...
thebadbad Posted February 22, 2008 Share Posted February 22, 2008 <?php if (isset($_SESSION['UserAdmin']) || $_SESSION['UserAdmin'] == '0') { // do something } ?> Link to comment https://forums.phpfreaks.com/topic/92415-if-somethingsomething-or-somethingelse/#findComment-473485 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.