Gayner Posted August 26, 2009 Share Posted August 26, 2009 Here is my code: if ($ibforums->member['skinstyle'] == "") $lolnoskin = "0"; Now i want to put AND if ($ibforums->member['monkskin'] == "") in the same IF function so it would be like this: if ($ibforums->member['skinstyle'] == "") AND if ($ibforums->member['monkskin'] == "") ? I want to beable to use AND Statement in my IF Function, help, thx Quote Link to comment Share on other sites More sharing options...
guyfromfl Posted August 26, 2009 Share Posted August 26, 2009 if (($ibforums->member['skinstyle'] == "") && ($ibforums->member['monksink'] =="")) { } Quote Link to comment Share on other sites More sharing options...
Gayner Posted August 26, 2009 Author Share Posted August 26, 2009 if (($ibforums->member['skinstyle'] == "") && $ibforums->member['monksink'] =="") { } I thought u would use "AND" OMG that is epic, thanks alot for your help, man im learning php so simplier cause of phpfreaks i love it, thanks guys! Topic Solved! Quote Link to comment Share on other sites More sharing options...
guyfromfl Posted August 26, 2009 Share Posted August 26, 2009 for future reference && = and || = or Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.