RE: [PHP] logs problem

2005-08-12 Thread Jay Blanchard
[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 a

Re: [PHP] logs problem

2005-08-12 Thread FSA
this is a local script with a medium amount of data to log i just thaught it's a litle "barbarian" :) to actualy do inserts in the log table for all queryes. That's why i thaught maibe there is a simple more reliable way. Torgny Bjers wrote: > FSA wrote: > >>hi, i have a big php script with alot

Re: [PHP] logs problem

2005-08-12 Thread Jochem Maas
Torgny Bjers wrote: FSA wrote: 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. ty Depending the amount of

Re: [PHP] logs problem

2005-08-12 Thread Torgny Bjers
FSA wrote: > 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. > > ty Depending the amount of queries and th