WordPress.org

Ready to get started?Download WordPress

Forums

Add delete button to Liveupdates plugin (1 post)

  1. 1SW
    Member
    Posted 2 years ago #

    Can someone help me to know how to add a delete button to the Liveupdates WordPress plugin shown here: http://wordpress.org/extend/plugins/live-updates/

    I am not good with javascript. Also not sure if ajax would be better for this.

    Here is the code I am using:
    http://pastebin.com/MjQu8Efy

    This code works, but it deletes all 5 rows instead of just 1 row and deletes newly inputed rows. I get this error:

    WordPress database error: []
    DELETE FROM KnWtTi_liveupdates WHERE ID = id

    Thanks in advance for any help you can provide.

Topic Closed

This topic has been closed to new replies.

About this Topic