ciao...
ho un problema con due if, non riesco a farlo funzionare, credo che quello che ho scritto sia sbagliato perchè non funziona,

chi mi aiuta a risolvere?

Codice PHP:
<? 
$user
=uc($_COOKIE["usNick"]);
        
$myDb->connect();
            
$sql "SELECT * FROM yob_users WHERE username='$user'";
            
$result mysql_query($sql);        
            
$row mysql_fetch_array($result);
        
$myDb->close();
            
$rootmoney=$row["money"];
            
$rootvisit=$row["visits"];
            
$rootpaid=$row["paid"];
        
$myDb->connect();
            if (($
$rootmoney <= 2) AND ($rootvisit <= 50)) {
?>  
<tr> 
<td style="" class="botao_act0" this.style.color='#000000';" onmouseout="this.style.backgroundColor='';this.style.color='';" nowrap="nowrap">
<span id="bt1">CONVERT</span>

<div class="botao_act0_2">You can't request!</div></td>
</tr>
<? }else{?> 
<tr>
<td style="" class="botao_act" onmouseover="this.style.backgroundColor='#cfe5ff';this.style.color='#000000';" onmouseout="this.style.backgroundColor='';this.style.color='';" onclick="document.location.href='/convert.php';" nowrap="nowrap"><span id="bt1">CONVERT</span>
<div class="botao_act_2">You can only request when you reach $5.00!</div></td> 
<? ?>