Query error with executeQuery, the query itself is flawed, here is the sql:
SELECT title, p.slug, caption, copyright_holder, email, website, country, filename, web_text, region, hires
FROM cpg134_pictures p, copyright_t c, country_t co, region_t re
WHERE p.pid =
AND p.copyright_id = c.copyright_id
AND p.country_id = co.country_id
AND re.region_id = co.region_id
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 p.copyright_id = c.copyright_id
AND p.country_id = co.country_id
A' at line 4
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/avertor/public_html/photo_library/generic/generic.database.func.php on line 153
Click on the photo to go back to the previous page
Query error with executeQuery, the query itself is flawed, here is the sql:This image may not be used or reproduced without permission.
If you would like to use this image please email us at info@avert.org quoting the photo reference number and explaining who you are and why you would like to use the image.
Find hundreds more pictures in our easy-to-use Photo Gallery.