Make a select where the options are the different multisites

This method will give you a select menu of active blogs. function list_all_blogs() { global $wpdb; $query = “SELECT blog_id FROM ” . $wpdb->base_prefix . “blogs WHERE spam != ‘1’ AND archived != ‘1’ AND deleted != ‘1’ AND public=”1″ AND blog_id != ‘1’ ORDER BY path”; $blogs = $wpdb->get_results($query); echo ‘<select id=”blog-select”>’; foreach($blogs as … Read more

WordPress MU users – how are they organized?

The conceptual difference between users in a standalone site and a network site is that in a network the users do not belong to the site but to the network itself are are being automatically logged in into all the network site once they login to one. Most of the time the difference can be … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)