Dethman Posted January 25, 2008 Share Posted January 25, 2008 Any help on this would be awsome.... if($spy*12>=$row['covertLVL']*$row['covertTroops']){ $troops=number_format($row['untrainedTroops']+$row['attackTroops']+$row['defenseTroops']+$row['covertTroops']); $Naquadah=number_format($row['Naquadah']); }else{ $troops="??????"; $Naquadah = "??????"; } $page.=" <Tr align='center'> <td align=left><A href='stats.php?id=".$row['userid']."'>".$row['username']."</a>" // THE IF STATEMENT NEEDED HERE IS BELOW if($user['PPT'>=1]{echo"<font color="yellow">UnderPPT</font>"})".$tag."</td> <td>".number_format($row['overallRank'])." <td align=left>".$alliancename."</td> <td>".$troops."</td> <td>".$Naquadah."</td> <Td width=1% align=center><A href=msg.php?id=".$row['userid']."><img src='images/pm.jpg' border=0></a> </tr> "; } return $page; } } Thanx Dethman Quote Link to comment Share on other sites More sharing options...
beebum Posted January 25, 2008 Share Posted January 25, 2008 It's called elseif() 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.