SELECT wp_7_postmeta.meta_value FROM wp_7_postmeta WHERE wp_7_postmeta.post_id = AND wp_7_postmeta.meta_key = "pic01_allocation_100_84" _errorYou 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 wp_7_postmeta.meta_key = "pic01_allocation_100_84"' at line 7