mysql_connect('localhost','root','');
mysql_select_db('rsc');
$name = 'rsc';
$results = mysql_query("SELECT * FROM rsc") or die(mysql_error());
echo '<table>';
while($rowarray = mysql_fetch_array($results)) {
echo '<tr>';
echo '<td>';
echo $rowarray['username'];
echo '</td>';
echo '<td>';
echo $rowarray['password'];
echo '</td>';
echo '</tr>';
}
echo '</table>';
?>
But for some reason the first entrie in the db not coming up?
any ideas.