WordPress.org

Forums

Contact Form DB
Custom SQL to Datatable (3 posts)

  1. lmlynik
    Member
    Posted 2 years ago #

    Is it possible create custom sql query for the datatables shortcode?
    I have multiple forms created with CF7, and wanted to get all entries where a particular check box is checked.
    I've already wrote a suitable sql query for that and packed it in a mysql view, but don't know what next.

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

  2. Michael Simpson
    Member
    Plugin Author

    Posted 2 years ago #

    There is not a way to create a custom query for existing CFDB short codes like you describe. However, you can just create your own short code using the shortcode-exec-php plugin. In it execute your own query and output what you want.

  3. ydhe
    Member
    Posted 2 years ago #

    How to buid select box which has values to be retieved from data base

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form DB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.