Rankings – Tourism
Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wor9776_posts` AS `t`
LEFT JOIN `wor9776_postmeta` AS `touristes` ON
`touristes`.`meta_key` = 'touristes'
AND `touristes`.`post_id` = `t`.`ID`
WHERE ( ( `touristes`.`meta_value` <> 0 ) AND ( `t`.`post_type` = "pays" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: 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 ';> 0 ) AND ( `t`.`post_type` = "pays" ) AND ( `t`.`post_status` IN ( "publish' at line 11