pls help me!! why this code is not executing?also send me the exact code to fetch a table from a database in a table format in a web page!!!!!
<?php
$con=mysql_connect("localhost","root","");
mysql_select_db("niladri",$con);
$sql="SELECT *
FROM `category` ";
$res==mysql_query($sql);
while($row==mysql_fetch_array($res));
{
echo $row['cat_id'];
echo $row['cat_name'];
}
?>
:'( :?: :icon_cry: