I am trying to echo out a certain "cat's" name and picture if it qualifies as Leader and it's "clan" as ThunderClan. Here is my code.. what is wrong with it?

<html>
<?php

include('connect.php');

error_reporting(E_ALL ^ E_NOTICE);

$username = $_SESSION['username'];


$query = mysql_query("SELECT * FROM cats") or die("mysql_error");
if (mysql_num_rows($query)==0)
die("No cats found!");

else
{

while($row = mysql_fetch_assoc($query)){
$cuser = $row['user'];
$cname = $row['name'];
$cgender = $row['gender'];
$cbio = $row['bio'];
$cmate = $row['mate'];
$cclan = $row['clan'];
$crank = $row['rank'];
$cpic = $row['pic'];
$user = $username;

if($crank='Leader'&&$cclan='ThunderClan') {


echo "
<center>
<table align='left'>
<tr>
<td rowspan='6'><br>
<img src=".$cpic." height='100' border='0'/>
ThunderClan Leader: ".$cuser."
</td>
</tr>
</table>
<float='left'>";

}else
echo "This clan has no leader";
{
}}}

?>