Hello there i want to display my customer information from table but i can not an i am new in php. This is my code
<?php
mysqli_connect("localhost","root","","company");
mysql_select_db('company');
$sql="SELECT * FROM musteri";
$records = mysql_query($sql);
?>
<html>
<head>
<title>Customer Data</title>
</head>
<body>
<table width="600" border="1" cellpadding="1" cellspacing="1">
<tr>
<th>ID</th>
<th>İsim</th>
<th>Soyad</th>
<th>Email</th>
<th>Doğum Tarihi</th>
</tr>
<?php
while($musteri = mysql_fetch_assoc($records))
echo "<tr>";
echo "<td>".$customer['id']."</td>";
echo "<td>".$customer['age']."</td>";
echo "<td>".$customer['email']."</td>";
echo "<td>".$customer['dogumtarih']."</td>";
echo "</tr>";
?>
</table>
</body>
</html>
Can you please help me? How can i fix this...