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.
- The topic ‘Problem in updating WPDB from DataTableEditable plugin’ is closed to new replies.