APA MySQL Error :
Query : SELECT apa_photos.*, apa_albums.path, apa_albums.name FROM apa_photos LEFT JOIN apa_albums ON apa_photos.parent_ID = apa_albums.ID WHERE apa_photos.ID =
Query type : SELECT
File : /home/l/lim/www/photo_album/photo.php
Line : 34
Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/l/lim/www/photo_album/photo.php on line 35
APA MySQL Error :
Query : DELETE FROM apa_commentsbuffer WHERE photo_ID= AND time + INTERVAL 5 MINUTE < NOW()
Query type : DELETE
File : /home/l/lim/www/photo_album/photo.php
Line : 51
Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND time + INTERVAL 5 MINUTE < NOW()' at line 1

Begin End
Begin End
Post a comment :  
Filename :
Size : B
Title : None
Comment(s) :
View(s) :
APA MySQL Error :
Query : SELECT COUNT(*) AS num FROM apa_comments WHERE photo_ID=
Query type : SELECT
File : /home/l/lim/www/photo_album/photo.php
Line : 476
Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/l/lim/www/photo_album/photo.php on line 477