[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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php