php - Generate a sql string inside of a MY_Model -


i'm using jamie rumbelow's my_model develop model's modules. i'm running issues when i'm trying use relationships within module model's. i'm trying learn how debug this. view sql generated string see being ran query. know how this.

try:

echo $this->db->last_query(); 

this echo last sql query.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -