I want to use Wordpress for an existing site (coded in PHP). It has some forms (for member subscription, user can update their data etc.) which are connected directly to an existing database. I don't want to touch or change the DB, because it's a huge member database. So my problem now is - how can I use a contact form within wordpress which sends the data automatically to this existing database? Thanks for your help!!
You can easily connect to another DB using the
From there you can use the
The Codex has pretty thorough information: http://codex.wordpress.org/Class_Reference/wpdb
protected by toscho♦ Aug 1 '14 at 7:43
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?