RE: [PHP] logs problem
| From: | Jay Blanchard | Date: | Fri, 12 Aug 2005 11:39:45 +0000 |
| Subject: | RE: [PHP] logs problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-220514@lists.php.net to get a copy of this message | ||
[snip]
hi, i have a big php script with alot of db inserts and updates, what i
want to do it's to log all this db commands into a table. I was wonderig
if there is a better way to do this than the insert into logs_table the
actual queryes.
[/snip]
Don't forget, your database may be keeping logs already and most RDBMS
packages include a way to turn logging on/off. You can parse this into a
table if you need to. I would start there first.