I'm using Kohana 3.
I'm writing an update query, and it is working for everything except this one section.
If I do a var_dump()
on the results of $db->execute()
I get either a 1 or 0 to say it failed or not. It is failing in this example (returning 0).
How can I figure out what error is happening? It justs seems to be silenty failing at the time being. I tried doing echo mysql_error()
but it didn't work, as I expected, as Kohana 3's db library uses PDO I'm pretty sure.
How can I figure out the error that has occurred?