Hey here is my code - The number of rows are being displayed that are
currently in the database (3) but when i try to get the data out it
isn't being displayed, showing merely the just the rows with the
lines.... can you help me? thanks!
<?
require_once ('mysqyl_connect.php');
$query="SELECT * FROM CLIENT_INFO";
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();
echo "<b><center>Client List</center></b><br><br>";
$i=0;
while ($i < $num) {
$first=mysql_result($result,$i,"first_name");
$last=mysql_result($result,$i,"last_name");
$mobile=mysql_result($result,$i,"email");
echo "<b>$last_name</b><br>E-mail: $email<br><hr><br>";
$i++;
}
?>