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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -