karimali831 Posted March 19, 2010 Share Posted March 19, 2010 $leadercheck = safe_query("SELECT * FROM ".PREFIX."cup_clan_members WHERE userID = '$userID' AND function = 'Leader'"); if(mysql_num_rows($leadercheck) > 2) $user_menu .='<td bgcolor="'.$bg1.'" width="5%" align="center"><a href="clans&action=clanleave&clanID='.$db['clanID'].'" onclick="return confirm(\'Are you sure you want to leave this team?\');"> <img border="0" src="images/error.png" width="16" height="16"></a></td>'; else if(mysql_num_rows($leadercheck)) Does if(mysql_num_rows($leadercheck) > 2) mean if 2 SQL rows or more? I need 2 or greater. Quote Link to comment https://forums.phpfreaks.com/topic/195756-2-or-greater/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 19, 2010 Share Posted March 19, 2010 http://us3.php.net/manual/en/language.operators.comparison.php Quote Link to comment https://forums.phpfreaks.com/topic/195756-2-or-greater/#findComment-1028367 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.