Jump to content

2 or greater?


karimali831

Recommended Posts

    $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.

Link to comment
https://forums.phpfreaks.com/topic/195756-2-or-greater/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.