I am using a sql query to access information to display on a wordpress page by adding the below code to a page template. I know the query works as I've tested it in phpmyadmin. $rows = ...
Trying to iterate through a list of the sites and I can't seem to get set_blog_id working. Here's the sample output: Array (  => stdClass Object ( [blog_id] => 2 )  => stdClass Object ( ...
I am trying to get an array of site users sorted by a custom meta value (an int). I can query the users just fine and get them back to use in a foreach. I currently have the query results come back ...