[eluser]introvert[/eluser]
[quote author="introvert" date="1279076097"][quote author="OverZealous" date="1279073654"]@introvert
If you'd read the docs, you'd see that check_last_query, by default, renders to the browser automatically. If you are also echoing it, you'll get the same output twice.
Obviously that would cause a database error if it tried to execute that.[/quote]
I don't get any error if I execute it with phpmyadmin 3.2.4. (MySQL client version: 5.1.37)
Can you please tell me which error do you get?
Do you maybe have any idea how I should restructure it to make it work? I have no idea what is going wrong.
Thanks a lot.[/quote]
I found out what the problem was.
The updated column seems to have a different timezone - the time has 2 hours difference if I compare it to NOW() which I call from mysql phpmyadmin.