hi
I am getting SELECT cat_id, cat_name FROM Error in Wordpress Blog. Im getting below error in my online site. Wht can i do?
Sample template i am viewing Blogrolls. But in online site i cant. The code is...
[PHP]<?php
$link_cats = $wpdb->get_results("S ELECT cat_id, cat_name FROM $wpdb->linkcategories ");
foreach ($link_cats as $link_cat) {
?>
<div class="widget_s tyle" id="links_with_ style">
<div class="cats_hea d">
<h2 class="h3">cat_ name; ?>
</div>
<ul>
<?php get_links($link _cat->cat_id, '', '', '
', FALSE, 'rand', TRUE,
TRUE, -1, TRUE); ?>
</ul>
</div>
<?php } ?> [/PHP]
Anybody help me?
I am getting SELECT cat_id, cat_name FROM Error in Wordpress Blog. Im getting below error in my online site. Wht can i do?
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 1]
SELECT cat_id, cat_name FROM
SELECT cat_id, cat_name FROM
[PHP]<?php
$link_cats = $wpdb->get_results("S ELECT cat_id, cat_name FROM $wpdb->linkcategories ");
foreach ($link_cats as $link_cat) {
?>
<div class="widget_s tyle" id="links_with_ style">
<div class="cats_hea d">
<h2 class="h3">cat_ name; ?>
</div>
<ul>
<?php get_links($link _cat->cat_id, '', '', '
', FALSE, 'rand', TRUE,
TRUE, -1, TRUE); ?>
</ul>
</div>
<?php } ?> [/PHP]
Anybody help me?
Comment