Little brother, I have a big problem.

Source: Internet
Author: User
I'm having a big problem.
There is an OA system, the interface has a modification, the deletion of information functions, as follows:
------------------------------------------------
| Manufacturer Name | Operations |
------------------------------------------------
| 01 | Modify Delete |
------------------------------------------------
| 02 | Modify Delete |
------------------------------------------------
| 03 | Modify Delete |
------------------------------------------------
| Increase | return |
-----------------------------------------------
When I add the manufacturer can be deleted, but the original 01,02,03 on the above cannot be deleted,
Here is a section of my Code:
delete.php
------------------------------------
PHP Code
  
   
  
       
  
   

---------------------------------

delete_pic.php
---------------------------------
PHP Code
  
   
  
   

---------------------
show.php
--------------------



There are some code, afraid of the word super, upload the main, if any elder brother is willing to solve my. I sent the system all over,
The eldest brother is willing to help me solve the q:545940787
Appreciate

------Solution--------------------
Oh, you took someone else's OA in change it.
Can not delete, see is not the restrictions of the program and permissions it!
------Solution--------------------
There's a reason upstairs, I think this manufacturer name this table should have fields to determine permissions.
Each piece of data should have a response permission to modify, delete, and so on.
If simply to delete the previous data can directly manipulate the database.
But I suggest that the landlord or careful study of their own procedural logic.
The problem should not be difficult.
------Solution--------------------
I'll add you qq when I get home.
------Solution--------------------
  • 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.