Database with Codes
Moderator: General Moderators
Database with Codes
Is there anyway to have my database automatically delete the code in the database after it is put into the text box?
Re: Database with Codes
Use a DELETE query on that record after the form has been submitted.
Code: Select all
$query = "DELETE FROM tablename WHERE code = '{$code_to_delete}'";