Why can't I delete data?

Source: Internet
Author: User
I just want to query this page and delete a piece of data on this page. now I can query it, but I cannot delete it. what is wrong? {Code...} is to query and delete a piece of data on this page. it can be queried now, but it cannot be deleted. what is wrong?

Exec ($ SQL);?>

Reply content:

I just want to query this page and delete a piece of data on this page. now I can query it, but I cannot delete it. what is wrong?

Exec ($ SQL);?>

First, echo your delete SQL to see if it is the expected result.
Then go to the database for execution to see if there is any effect.
There are still problems.

$ Cm is written as '{$ cm }'

There is no input field in your deletion, and no value is submitted to the form, so there is nothing to delete

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.