Re: [PHP] Problem with date_format() in indirect MySQL query...

2001-11-02 Thread Ryan Fischer
Mark Roedel wrote: > Perhaps a quick re-read of the date_format() section of > http://www.mysql.com/doc/D/a/Date_and_time_functions.html > is in order? (Hint: the % characters mean something.) Thank you very much! That's odd ... in previous scripts I've written there wasn't a need for the % cha

RE: [PHP] Problem with date_format() in indirect MySQL query...

2001-11-01 Thread Mark Roedel
> -Original Message- > From: Ryan Fischer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 5:37 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Problem with date_format() in indirect MySQL query... > > > $res = $this->query("select *, date

[PHP] Problem with date_format() in indirect MySQL query...

2001-11-01 Thread Ryan Fischer
Hello! :) First off, please respond to me directly as I am not subscribed to the list. Thanks! :) Now then, I have a quick question I'm hoping someone can help me with. I have this class method: function query($sql, $type = 'obj') { if(!$result = @mysql_query($this->masl($sql))){ ec