How to delere an sql record clicking by a button ?
For ex: let say i have 23 record in my data base
and i wanna show all and after that i wanna delete record nr. 5
With just a click on a button "delete"
Once you have the unique ID, you can use XMLHttp to run a PHP file and pass it that value. The PHP will then delete the record out of the database.
1) On click/select of a row, return the unique value of the row you clicked (normally into a hidden field)
3) You server side script would then delete the record out of the database based on the value you passed to it.
Thanks for the tip... but I don't know XMLHttp... where would i start learning to use it? Could you at least illustrate to me how it works and how to do it?...
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.