I am using Contact form 7 and the database extension, the db extension creates a table called wp_CF7DBPlugin_SUBMITS. I have 2 forms on my site, I need to know if the user has completed the 2nd form, so when they return they can skip the 1st form.

I don't even know where to start with this, any help will be much appreciated.

  • 2
    It would help if you could add sample row from table with data you want to get out of it. – Rarst Jan 7 '11 at 21:51

Codex has extensive wpdb reference on how to perform different kinds of requests to database. However in most cases it is best to try to access data with available WP or theme/plugin code first.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy