WordPress database error in your SQL
-
Can anyone tell me how to fix this. I know that there is nothing wrong with MySQL server, so it must be somthing else.
Error message
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 FROMCode that I think is generating it:
<?php$link_cats = $wpdb->get_results(“SELECT cat_id, cat_name FROM $wpdb->linkcategories”);
foreach ($link_cats as $link_cat) {
?>
Any ideo on how to fix?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WordPress database error in your SQL’ is closed to new replies.