Welcome Guest, Not a member yet? Register   Sign In
CURRENT_TIMESTAMP: different mysql-behavior phpmyadmin vs. CI
#3

(11-29-2018, 06:09 AM)Pertti Wrote: If you are keeping your queries, you can do
PHP Code:
echo $this->db->last_query(); 

That should give you exact SQL query CI was trying to execute.

That gives:

Code:
UPDATE test SET modified2 = modified, modified = NOW() WHERE id = 1

as well. Unfortunately no new insight. Thank you for the hint.

Best
Reply


Messages In This Thread
RE: CURRENT_TIMESTAMP: different mysql-behavior phpmyadmin vs. CI - by kbs170 - 11-29-2018, 06:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB