Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
-
pelegk2
- Forum Regular
- Posts: 633
- Joined: Thu Nov 27, 2003 5:02 am
- Location: Israel - the best place to live in after heaven
-
Contact:
Post
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
-
twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Post
by twigletmac »
What are the other results? What's wrong?
Mac
-
pelegk2
- Forum Regular
- Posts: 633
- Joined: Thu Nov 27, 2003 5:02 am
- Location: Israel - the best place to live in after heaven
-
Contact:
Post
by pelegk2 »
-
twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Post
by twigletmac »
What was the mistake? Does this mean the problem is solved?
Mac
-
pelegk2
- Forum Regular
- Posts: 633
- Joined: Thu Nov 27, 2003 5:02 am
- Location: Israel - the best place to live in after heaven
-
Contact:
Post
by pelegk2 »
some 1 ouched the defenitions in the config
and it accessed to the develope server instead of the production