-
Please Help PHP error
I have configure everything with my DBase it seems to be working but when I login as admin I always have this error hope that someone help thanks
am not good with PHP
This is a web photo album
--------------------------------------------
Warning: mysql_fetch_object(): The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH. in admin.home.php on line 152
Warning: mysql_fetch_object(): The result type should be either MYSQL_NUM, MYSQL_ASSOC or MYSQL_BOTH. in admin.home.php on line 158
-------------------------------------
'A'");
line (152) while($data4 = mysql_fetch_object($query, $db)) {
$size4 = $size4 + $data4->image_size;
}
$rows4 = mysql_num_rows($query);
$query = mysql_query("SELECT image_id, image_size FROM image WHERE image_status = 'D'");
line (158)while($data5 = mysql_fetch_object($query, $db)) {
$size5 = $size5 + $data5->image_size;
}
$rows5 = mysql_num_rows($query);
?>
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks