The following code is supposed to show the first 10 rows, unfortunately its not at present, and ideas as to what its going wrong?
Code:
<?php
include_once 'db.php';
$query = " SELECT * FROM `news` LIMIT 0 , 10 ";
$result = mysql_query($query);
while($row = mysql_fetch_array($result))
{
echo "Name :{$row['Subject']} <br>" .
"Subject : {$row['icon']} <br>" .
"Message : {$row['news']} <br><br>";
}
?>