Title: link163's Replies | WordPress.org

---

# link163

  [  ](https://wordpress.org/support/users/link163/)

 *   [Profile](https://wordpress.org/support/users/link163/)
 *   [Topics Started](https://wordpress.org/support/users/link163/topics/)
 *   [Replies Created](https://wordpress.org/support/users/link163/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/link163/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/link163/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/link163/engagements/)
 *   [Favorites](https://wordpress.org/support/users/link163/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP DB Driver] Where to write my PDO statement](https://wordpress.org/support/topic/where-to-write-my-pdo-statement/)
 *  Thread Starter [link163](https://wordpress.org/support/users/link163/)
 * (@link163)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/where-to-write-my-pdo-statement/#post-5550801)
 * All right, I’ll read that.
 * In fact, what I want to do, is a command form on a WP page. In normal PHP, I 
   would call my DB with PDO. But since I’m in WP, that’s why I’m so lost.
 * How would you do an insert in table with that plugin enabled?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP DB Driver] Where to write my PDO statement](https://wordpress.org/support/topic/where-to-write-my-pdo-statement/)
 *  Thread Starter [link163](https://wordpress.org/support/users/link163/)
 * (@link163)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/where-to-write-my-pdo-statement/#post-5550789)
 * Interesting!
    Then what do I write on a WP page to access DB data? I wanna insert
   into a table, what do I write?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP DB Driver] Where to write my PDO statement](https://wordpress.org/support/topic/where-to-write-my-pdo-statement/)
 *  Thread Starter [link163](https://wordpress.org/support/users/link163/)
 * (@link163)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/where-to-write-my-pdo-statement/#post-5550765)
 * OK then, where do I tell WordPress to use this database with username and password?
 * I just don’t understand where to write my SQL statements in my pages…

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