i got this message plz help ::
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 17
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 19
its like this plz point out
session_start();
include_once('common/common.php');
// global variable declaration & assignment
$action = $_GET['action'];
$goto = $_GET['goto'];
$SQL = "SELECT * FROM filedb ORDER BY urlname DESC";
DB_connect();
$result = mysql_query($SQL);
$found = mysql_num_rows($result);
DB_close();
while ($row = mysql_fetch_array($result)) {
$urlnameArray[] = $row['urlname'];
$filenameArray[] = $row['path'];
}
?>