Title: $wpdb-&gt;cloud_media_content
Last modified: August 20, 2016

---

# $wpdb->cloud_media_content

 *  Resolved [Per Søderlind](https://wordpress.org/support/users/pers/)
 * (@pers)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wpdb-cloud_media_content/)
 * This doesn’t work
 * `$wblb = $wpdb->get_row("SELECT id,name FROM $wpdb->cloud_media_content WHERE
   name = '" . $filename . "'");`
 * I have to do
 * `$wblb = $wpdb->get_row("SELECT id,name FROM MYPREFIX_cloud_media_content WHERE
   name = '" . $filename . "'");`
 * [http://wordpress.org/extend/plugins/wp2cloud-wordpress-to-cloud/](http://wordpress.org/extend/plugins/wp2cloud-wordpress-to-cloud/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Artem Livshits](https://wordpress.org/support/users/artemlivshits/)
 * (@artemlivshits)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wpdb-cloud_media_content/#post-3558860)
 * Hi Per,
 * Thank you for the report!
 * WP2Cloud indeed doesn’t add a `cloud_media_content member` to `$wpdb`, so currently
   the proper way to obtain the name is something like this: `$table_name = $wpdb-
   >prefix . "cloud_media_content";`
 * This practice seems to be in line with the [WordPress Codex recommendation](http://codex.wordpress.org/Creating_Tables_with_Plugins)
   and the practice that we’ve seen in other plugins.
 * Let us know if you think that this is something WP2Cloud should support.
 *  Thread Starter [Per Søderlind](https://wordpress.org/support/users/pers/)
 * (@pers)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wpdb-cloud_media_content/#post-3558886)
 * No, you right .. using `$wpdb->prefix . "cloud_media_content"` is fine, sorry
   it’s a bit late 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘$wpdb->cloud_media_content’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp2cloud-wordpress-to-cloud.svg)
 * [WP2Cloud](https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/)
 * [Active Topics](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Per Søderlind](https://wordpress.org/support/users/pers/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/wpdb-cloud_media_content/#post-3558886)
 * Status: resolved