What's wrong with this code:
<?php
include('include/con_database.php');
$result2 = mysql_query("SELECT * FROM banner ORDER BY DESC");
while ($data2 = mysql_fetch_array($result2)){
echo '<td>'.$data2['images'].'</td>'.'<br>';
}
?>
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\xampp\xampp\htdocs\IndonusaCMS\index.php on line 39
Line 39: while ($data2 = mysql_fetch_array($result2)){