You know it seems like something has been disabled in my WordPress installation, because when I do this:
global $wpdb;
$result=$wpdb->query( "SELECT * FROM wp_posts LIMIT 1"
);
echo $wpdb->func_call;
On my local server I see this expecte result:
$db->query("SELECT * FROM wp_posts LIMIT 1")
On my remote server absolutely nothing gets echoed to the screen.