Hey Guys, hopefully you can help. this is my first WP Plugin, and it allows user to add car details to a DB which works fine, then outputs those details to a page.
I can add cars just fine, but now I need to be able to delete them and edit them. And this is where im a little stumped… to edit, i want to click on the item from the list up the top and its details be placed in the fields below, edit then click save to update it.
but im struggling to find out how to grab the data? should i be using Ajax or is there another way?
thanks.
I have created such plugin without using ajax
In the table I’ve created 2 links – “edit” and “delete”, and sent the id of the element
if $info=del
and similarly for “edit”
And also I’ve added submenu page, where I’m adding or editing records