I have a short plugin and I was hard-coding wp_ for the table prefix. Someone brought this up, and I can't seem to get that in a variable. $table_prefix just gives me wp_#_ which isn't what I want--I need to crawl across all the blogs.
I have a short plugin and I was hard-coding wp_ for the table prefix. Someone brought this up, and I can't seem to get that in a variable. $table_prefix just gives me wp_#_ which isn't what I want--I need to crawl across all the blogs.
Found it!
$wpdb->base_prefix
This topic has been closed to new replies.