5 comments

this is very usefull (at least for me :-)!
thank you...
but i try to implement this into a php sidebar widget
get_var("SELECT COUNT(ID) FROM $wpdb->users");
echo sprintf( __('We have %s registered user.', 'myTextDomain') , $myusers );
?>
and I get the following error :
Fatal error: Call to a member function on a non-object in --/versatile-k/wp-content/plugins/php-code-widget/execphp.php(37) : eval()'d code on line 2