Re: MySQL class. Thoughts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 21, 2009 at 5:53 PM, Chris <dmagick@xxxxxxxxx> wrote:
> Eric Butera wrote:
>>
>> On Wed, Jan 21, 2009 at 12:45 PM, Edmund Hertle
>> <edmund.hertle@xxxxxxxxxxxxxxx> wrote:
>>>
>>> 2009/1/21 Jay Moore <jaymoore@xxxxxxxxxxxx>
>>>
>>>> This is a MySQL class I use and I wanted to get everyone's thoughts on
>>>> how/if I can improve it.  This is for MySQL only.  I don't need to make
>>>> it
>>>> compatible with other databases.  I'm curious what you all think.
>>>>
>>>> Thanks,
>>>> Jay
>>>
>>> Hey,
>>> 1. You know the mysqli-Class?
>>> 2. If yes, than I don't get it in which way this will improve mysql
>>> handling
>>>
>>>  -eddy
>>>
>>
>> Yea if you're only targeting 1 db, then why not use that class?  At
>> least then there's the php manual to figure out what something does.
>
> Because then to add query logging for the whole app, you just need to put it
> in the class :)
>
> (I've done that before to check what's being run and where from, comes in
> very handy).
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>

That's done by tail -f /var/log/mysql/query.log. :D

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux