|
Hi, this is my first question after registration. Perhaps I have choosen the wrong topic, but since my problem accurs at dealing with mysql and php, I hope i shall get a solution.
I have a working database and php file which prints a table with desired data from the database. Now, I would like to delete selected data. I thought doing this by inserting a picture or button in another column of the table; a click on it should call a function that deletes selected data. It shold be something like: onclick=<?function($selected_data)?>.
What is the proper syntacs for that? and Is there better way to solve this problem?
thx
|