Solved

codeigniter - active record

Posted on 2013-01-31
2
253 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 42

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now