CodeIgniter Forums

Full Version: Want to print out SQL Queries
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello there,

I was having some trouble running a SQL query and I after using the $this->db->$foo methods of writing the query I just want to double check it. Is there a way of doing that?

Also, this might not be a CodeIgniter issue but I wanted to insert a timestamp into the database when I update a record and I was having trouble with the mysql NOW() function. Any idea why?