Mysql server problem i think?

example here: link


@mysql_select_db($database) or die("Unable to select database");
$query="SELECT * FROM contacts";



echo "<b><center>Database Output</center></b><br><br>";

while ($i < $num) {


echo "<b>$first $last</b><br>Phone: $phone<br>Mobile: $mobile<br>Fax: $fax<br>E-mail: $email<br>Web: $web<br><hr><br>";


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<form action="insert.php" method="post">
First Name: <input type="text" name="first"><br>
Last Name: <input type="text" name="last"><br>
Phone: <input type="text" name="phone"><br>
Mobile: <input type="text" name="mobile"><br>
Fax: <input type="text" name="fax"><br>
E-mail: <input type="text" name="email"><br>
Web: <input type="text" name="web"><br>
<input type="Submit">

got no idea whats wrong. i followed this tutorial and i have no idea whats wrong. i set up my sql data base the exact same way they said and everything. i found one error in there code “mysql_numrows” had to be “mysql_num_rows” but i fixed that.


//edit, on the server the phpmyadmin says this andi found it kinda strange (error?). note i didnt change anything to it thats an actual screenshot.