request.table= "" + request.table.substring(0, 1).toUpperCase() + request.table.substring(1, request.table.length).toLowerCase(); header("Delete " + request.table, project.HDefaultImage, ""); //### could use own image ### table=request.table; keyField=request.keyField; keyValue=request.keyValue; dbConnect(); status=database.execute("DELETE FROM " + table + " WHERE "+ keyField +"="+keyValue); dbDisconnect();

if (status==0){ write("The " + table + " record has been deleted.

" + "Please note: The web page corresponding to the deleted record " + "will be visible if you press the backup key, but the actual db " + "entry has been removed."); } else { write("A database error was encountered in attempting to delete the " + table + " record."); };


write(button("Continue", null, null))

footer()