wpdb

Wordpress : is it possible to connect $wpdb class into other database ?

the question is related to wordpress coding only. If it possible, the code solution is able to use inside a wordpress blog. $wpdb is only work with database that been declare in wp-config. So it possible to clone $wpdb then use the clone to access different database ? ...

PHP : substitute to wpdb class in wordpress

wpdb class in wordpress is used for making connection to database. is there any substitute to this class in PHP repository? So i can access different database then the original database that have been initiate in wp-config ? ...

Is SQLlite strong enough to use as wordpress database ?

i'm just curious. so i ask this particular question about SQLite. I haven't use this type of database extensively. but care to explain what is the basic different between SQLite and Mysql ? The reason behind all of this is i just want to know whether it possible to use it to store wordpress data and act as a database ? ...

Wordpress plugin and database interaction

Hi, I am writing my first plug in and it was all going well unti I needed to pull some data from the WP database. Basically I have no idea how to do it, so I need a hand. **EDIT** // I need to connect to the DB to display records within the wp-admin panel > settings > myplugin's page In my plugin I currently have: $locations = $wpdb...

Need advice on removing zend framework dependency

I'm in the middle of converting an existing app built on top of zend framework to work as a plugin within wordpress as opposed to the standalone application it currently is. I've never really used zend so I've had to learn about it in order to know where to begin. I must say that at first I didn't think much of zend, but it's funny beca...

Paginating wordpress custom queries.

How do i paginate this? It's a code in wordpress template I'm using to get posts by their first letter. I only want 10 in a page. $postids=$wpdb->get_col($wpdb->prepare(" SELECT ID FROM $wpdb->posts WHERE SUBSTR($wpdb->posts.post_title,1,1) = %s ORDER BY $wpdb->posts.post_title",$first_char)); if ($postids) ...

Passing a variable as an argument to the get_options() Wordpress function.

Hello. I'm currently trying work on a plugin and I'm running into an issue. Basically, in the plugin options page, I have a form in which the user will input information for an opt-in email. However, I need different forms for each instance of the email form. I'm trying to put this together quickly, so rather than rewrite it, I'm mer...

Using wpdb in Wordpress to Insert a row

Does anyone see anything wrong with what I am doing here? I haven't worked with the database expressions in WP yet. All of my code runs except when I start to try to add items to tables I have created in the WP database. Any info would be greatly appreciated. To me it seems that this syntax is correct and should run. $wpdb->insert($wpd...