Support » Plugins » Hacks » Add delete button to Liveupdates plugin

  • 1SW

    (@1sw)


    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.

  • The topic ‘Add delete button to Liveupdates plugin’ is closed to new replies.