Home > Backend Development > PHP Tutorial > 日志功能?该如何解决

日志功能?该如何解决

WBOY
Release: 2016-06-13 10:05:10
Original
813 people have browsed it

日志功能?
我想做日志功能,把用户对一张表的增删改操作记录下来,请问怎么做?

------解决方案--------------------
有插入的时候写一条记录
------解决方案--------------------
在更改表数据新息的同时,写 logs 表。
类似:时间 操作人 行为 影响ID

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template