Page 1 of 1

mysql query questio

Posted: Sun Nov 30, 2003 7:40 am
by pelegk2
when i run this line from the sql query :
select * from order_color where to_days(FROM_UNIXTIME(done_date))=to_days(NOW()) order by done_date desc

everything works find
but when i do the same from php i got other results!
why is that?
thanks in advance
peleg

Posted: Mon Dec 01, 2003 3:29 am
by twigletmac
What are the other results? What's wrong?

Mac

sorry my mistake

Posted: Mon Dec 01, 2003 4:02 am
by pelegk2
:D

Posted: Mon Dec 01, 2003 4:44 am
by twigletmac
What was the mistake? Does this mean the problem is solved?

Mac

yep

Posted: Mon Dec 01, 2003 4:48 am
by pelegk2
some 1 ouched the defenitions in the config
and it accessed to the develope server instead of the production