stelthius Posted December 31, 2007 Share Posted December 31, 2007 ok ive just installed a image uploading script, and it gives me this error i know this isnt much to go from if anyone can help and does need any more information SQL wise of PHP wise let me know as i need to get this problem fixed A.S.A.P Database error with function: Get Images SQL: SELECT i.*, u.username, u.email, g.gallery_name, CONCAT('http://188.8.131.52/Image-hosting/images/',u.username,'/', i.name, '.', type) AS image_url, CONCAT('http://184.108.40.206/Image-hosting/thumbs/',u.username,'/', i.name, '.jpg') AS thumb_url FROM images i LEFT OUTER JOIN galleries g ON i.gallery_id=g.gallery_id, users u WHERE i.user_id=u.user_id AND i.user_id=1 ORDER BY i.uploaded desc LIMIT -5,5 Kindest Regards Stelth Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.