I novice, ask a php+mysql delete data about the problem

Source: Internet
Author: User
Tags mysql delete
I novice, ask a php+mysql delete data problem
How to delete a data in MySQL does not specify the ID of the data does not specify the ID of the total there are other conditions, or how to know which one to delete the first thing to know is which bar, know which is the data used to distinguish the field data, like Id,name,time, etc. Do not specify an ID then you have to specify a different field, if the field data is not unique will delete the same. References:

Want to implement click Delete, and then delete the corresponding ID information in the database


Quote: References:

There's always another identification mark.


References:
do not specify the ID always have other conditions, or how to know which to delete?


Hello, you this is deleted by getting ID: When clicking "Delete", bring the ID with the past reference:

Want to implement click Delete, and then delete the corresponding ID information in the database

Always have a condition, or how to know which one you want to delete, this kind of deletion is usually the unique identity in the table passed. This image can not show this unique logo, but you have to read it hidden, as the basis for finding this data, like your ID number. There's always another identification mark.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.