Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress execute query

global $wpdb;    
$result = $wpdb->get_results( "SELECT * FROM wp_usermeta WHERE meta_key = 'points' AND user_id = '1'");
print_r($result);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wordpress #execute #query
ADD COMMENT
Topic
Name
5+1 =