I have a database with an auto increment ID column, a name column, a creator column, a vehicle column, and a code column. What I want is a simple PHP script that will get the ID of a record from a form, and then delete that record from the ID of the record. Something where I can easily put it my database host, username, password, database name, and table name. And the name of the column for the ID is "id" without the "". Also, here is the form code.
[syntax]<form method="get" action="delete.php">
ID:<input style="margin-left: 10px;" id="id" name="id"><input type="submit" value="Delete">
</form>[/syntax]
Delete Database Record
Moderator: General Moderators