• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

codeigniter - active record

Hi can I get SQL statement created by codeigniter active record
0
sniger
Asked:
sniger
1 Solution
 
nickinthoozCommented:
can you clarify your question?
0
 
Chris StanyonCommented:
Have a look at this:

$this->db->last_query();

It's part of the Query Helper - http://ellislab.com/codeigniter/user-guide/database/helpers.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now