It's not working. The code i used is
<?php
$conn=mysqli_connect('127.0.0.1','root','');
if(!$conn)
{
echo "Connection Not Established";
}
if(!mysqli_select_db($conn,'lpractice'))
{
echo "Database Not Found!";
}
$res=mysqli_query($conn,"select * from signup");
echo "<table>";
while($row= mysql_fetch_array($res))
{
echo "<tr>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['email'] . "</td>";
echo "<td>" . $row['age'] . "</td>";
echo "<td>" . $row['sex'] . "</td>";
echo "</tr>"
}
echo "</table>";
?>
And the output coming is
"; while($row= mysql_fetch_array($res)) { echo ""; echo "" . $row['name'] . ""; echo "" . $row['email'] . ""; echo "" . $row['age'] . ""; echo "" . $row['sex'] . ""; echo "" } echo ""; ?>