I am a newbie. I want to ask a question about how to delete a piece of data in mysql with no id specified in php + MYSQL ------ solution ---------------- there are always other conditions if no id is specified, otherwise, how can I know which one to delete? solution ------------------ There are other identification marks? solution -------------------- delete a piece of data. I am a newbie and ask a php + mysql data deletion question.
How to delete a piece of data in MYSQL with no id specified
------ Solution --------------------
If you do not specify an id, there are always other conditions. Otherwise, how do you know which one to delete?
------ Solution --------------------
There are other identification marks.
------ Solution --------------------
To delete a piece of data, you first need to know which one is to use the field data of the data to distinguish it, such as ID, NAME, TIME, etc, if no ID is specified, other fields must be specified. if the field data is not unique, the same fields will be deleted.
------ Solution --------------------
When you click "delete", the id is taken over.
------ Solution --------------------
Reference:
Click delete to delete the Database id.
There is always a condition, or how do you know which one you want to delete? this type of deletion generally transfers the unique identifier in the table. This image does not display this unique identifier, but you need to read and hide it as a basis for finding this data, just like your ID card number.
------ Solution --------------------
Reference:
Click delete to delete the Database id.
Quote: reference:
There are other identification marks.
Reference:
If you do not specify an id, there are always other conditions. Otherwise, how do you know which one to delete?
Hello, you deleted this by getting the ID ..