Solved

codeigniter - active record

Posted on 2013-01-31
2
266 Views
Last Modified: 2013-02-01
Hi can I get SQL statement created by codeigniter active record
0
Comment
Question by:sniger
2 Comments
 
LVL 6

Expert Comment

by:nickinthooz
ID: 38842320
can you clarify your question?
0
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 38843737
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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mysql between clause 2 27
php checkbox validation 5 27
ebay devID, appID, certID, userToken 2 33
PHP AJAX JSON 2 61
This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question