get_links sql error
-
something must be wrong with my syntax. here it is:
<?php get_links(2, '<li>', '</span></li>', '<br /><span>', TRUE, '_updated', TRUE, '','', TRUE); ?>
and I’m getting this error on my page:
WordPress database error: [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 '' at line 4]
SELECT link_url, link_name, link_image, link_target, link_description, link_rating, link_rel , IF (DATE_ADD(link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated , UNIX_TIMESTAMP(link_updated) AS link_updated_f FROM wp_links WHERE link_visible = 'Y' AND link_category = 2 ORDER BY link_updated DESC LIMITor lordy, what have I done now?
thank you for any help,
will
- The topic ‘get_links sql error’ is closed to new replies.