PHP views backticks (ie, “) as delimiting something that should be executed, not as a quotation character. Use single quotes ('
) instead.
$users = $wpdb->get_results($wpdb->prepare('SELECT * FROM %s', 'tc_chat_clt'));
PHP views backticks (ie, “) as delimiting something that should be executed, not as a quotation character. Use single quotes ('
) instead.
$users = $wpdb->get_results($wpdb->prepare('SELECT * FROM %s', 'tc_chat_clt'));