jigsawsoul Posted January 24, 2010 Share Posted January 24, 2010 if(trim($row['role']) == 'Secretary') && ($row['staff_id']) == $staffid) { $secretarybook = "Minutes Not Published"; } else { $secretarybook = 'cock'; } How comes the && doesn't work here am i using it in the wrong place ? Quote Link to comment Share on other sites More sharing options...
connex Posted January 24, 2010 Share Posted January 24, 2010 if((trim($row['role']) == 'Secretary') && (($row['staff_id']) == $staffid)) Try that. Quote Link to comment Share on other sites More sharing options...
cs.punk Posted February 11, 2010 Share Posted February 11, 2010 Try if(trim($row['role']) == 'Secretary') && $row['staff_id'] == $staffid) 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.