get_linksbyname
-
I was browsing through the wiki, and decided to experiment. I inserted this tag
<?php get_linksbyname(); ?>
and it worked perfectly. However, once I tired to enter in any peremeters, it mucked up. I even tried<?php get_linksbyname('','','','','','','','','',''); ?>
which should have worked, yes? I instead, as with the other tries, recived this: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 FROM wp_links WHERE link_visible = 'Y' ORDER BY link_id ASC LIMIT
Any ideas why?
Thanks! ^.^
- The topic ‘get_linksbyname’ is closed to new replies.