Validate my SQL?
-
Hi could someone please validate my SQL. I can’t find a problem but it clearly isn’t working.
“SELECT * FROM $tableposts
WHERE post_date <= ‘$now’
AND post_status = ‘publish’
AND ID = (
SELECT post_id FROM wp_postmeta
WHERE meta_value = ‘$key’)”Cheers,
S.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Validate my SQL?’ is closed to new replies.