WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16558, comment 1


Ignore:
Timestamp:
02/14/2011 11:35:10 PM (7 years ago)
Author:
kawauso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16558, comment 1

    initial v1  
    44
    55{{{
     6<?php
    67function switchblog() {
    78        global $wpdb;
     
    1011                echo "<strong>Blog ID:</strong> $blog_id<br />";
    1112                foreach ( $wpdb->tables( 'blog' ) as $table => $value ) {
     13                        $value = $wpdb->$table;
    1214                        echo "$table: $value<br />";
    1315                }