Re: [PHP-DB] general rule for when to perform an operation in either Mysql or php

2006-01-29 Thread Miles Thompson
At 12:20 PM 1/29/2006, daniel smith wrote: I am playing around with Mysql and php and I am not sure about when it is best do something in mysql or php when BOTH can perform the operation. Example, date formating can be performed by Mysql during the query DATE_FORMAT(blah, blah...) or by php wit

Re: [PHP-DB] general rule for when to perform an operation in either Mysql or php

2006-01-29 Thread RaJeSh VeNkAtA
i think its best to use php when both can perform the same opreration :). there will less stress on server when u use php than mysql . raj On Sun, 29 Jan 2006, daniel smith wrote: I am playing around with Mysql and php and I am not sure about when it is best do something in mysql or php when B

[PHP-DB] general rule for when to perform an operation in either Mysql or php

2006-01-29 Thread daniel smith
I am playing around with Mysql and php and I am not sure about when it is best do something in mysql or php when BOTH can perform the operation. Example, date formating can be performed by Mysql during the query DATE_FORMAT(blah, blah...) or by php with date(blah, blah..). What are the upsides/do