Title: Pull content from database ( $wpdb-&gt;query(&#8220;string&#8221;); )
Last modified: August 19, 2016

---

# Pull content from database ( $wpdb->query(“string”); )

 *  Resolved [albertpr9](https://wordpress.org/support/users/albertpr9/)
 * (@albertpr9)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/pull-content-from-database-wpdb-gtquerystring/)
 * Hi… I created a new table called wp_customize with 3 columns (ID, container, 
   cont_category)
 * How do I pull data out of it, using $wpdb->query(“string”); and echo it out?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/pull-content-from-database-wpdb-gtquerystring/#post-1396627)
 * A number of examples in the [wpdb](http://codex.wordpress.org/wpdb) article will
   help with that.

Viewing 1 replies (of 1 total)

The topic ‘Pull content from database ( $wpdb->query(“string”); )’ is closed to 
new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [wpdb](https://wordpress.org/support/topic-tag/wpdb/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/pull-content-from-database-wpdb-gtquerystring/#post-1396627)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
