Page 2 of 2

Re: html into database

Posted: Fri Aug 30, 2013 9:58 am
by chris98
So what could I do then?

Re: html into database

Posted: Fri Aug 30, 2013 10:01 am
by Celauran
You know the ID is going to be in $_POST['name'] (which you should consider renaming IMO). You can use that to fetch any information you need from the database (ie. which file(s) to delete) and you can use it in your DELETE FROM statement.