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--------------------