i recently started a small practise project where the user can store any get paid to read sites that they know of in a database. The adding part works fine but displaying it is not working.
This is the code i already have.
<?
include ('dbconnect.php');
$selectall = mysql_query(" select * from sites ");
$count = mysql_fetch_row( $selectall );
?>
<html>
<head>
<title></title>
</head>
<body>
<font face="tahoma" size="2">
<table border="0" width="100%" align="center">
<tr><td>Link to site</td>
<td>Signup bonus</td>
<td>Minimum Payout</td>
<td>Average earnt per day</td>
<td>Average time till first Payout</td>
<td>Levels of referral commission</td>
</tr>
<?
while($count = mysql_fetch_array($selectall))
{
echo "<tr><td><h href='$count[0]'>$count[6]</a></td>
<td>$$count[1]</td>
<td>$$count[2]</td>
<td>$$count[3]</td>
<td>$count[4] days</td>
<td>$count[5]</td>
</tr>";
}
?>
</table>
</font>
</body>
</html>
I dont know whats wrong, i know i write it a bit funny, with the html outside the php but i find it clearer for me then.
Any ideas?
Evan