WordPress.org

Ready to get started?Download WordPress

Forums

Problem in updating WPDB from DataTableEditable plugin (3 posts)

  1. dassoubarna
    Member
    Posted 1 year ago #

    I have created a form with Contact Form 7 and save the entered data in
    wpdb with function before sent mail in CF7. The table is created in database through phpMyadmin and it contains 10 columns. The first column is as usual the 'id'.

    I display the table by inserting PHP code into a page with PHPcode plugin.

    Now I put the JS code of DataTableEditible in header with reference to
    Update and Delete PHP files.

    The problem is that, when I edit or delete any value from the frontend
    it shows successful entry or deletion message without any error, but
    actually does not remove or update any entry from database.

    You will find the table at http://tiwaricomputer.com/test-table/

    Display table code is http://pastebin.com/1rqm3sEy

    JS script in Header http://pastebin.com/PmXRTvZT

    Data Update code http://pastebin.com/ZxGrbNb3

    Delete row code http://pastebin.com/GmjndSXu

    Could any one here solve this out.

  2. phillbooth
    Member
    Posted 1 year ago #

    This front end function does not edit database information directly, I would re-post this question in the support section for the CF7 DB Plugin located here http://wordpress.org/support/plugin/contact-form-7-to-database-extension

  3. dassoubarna
    Member
    Posted 1 year ago #

    I already aware of that plugin and I have post several times and ask for the help from Simpson. CF7 DB has a edit plugin also and the price of it is $50. I don't want to buy that now. So, I have developed my solution in that way.

    I am not an expert coder. I think, my way should work well, if I will write the Update and Delete PHP file properly.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags