/home/html/htdocs/www.mmsdirect.com/news.php SELECT *
FROM feature
WHERE feature_page_id =
AND active_flag = 1
AND ( expiration_date IS NULL
OR expiration_date = '0000-00-00'
OR expiration_date >= '2012-05-17'
)
LIMIT 1
MySQL ERROR 1064: 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 active_flag = 1
AND ( expiration_date IS NULL
OR expiration_da' at line 7
|