/ Published in: PHP
# Debug Last query #
Show a position absolute div with last query made by codeigniter.
Show a position absolute div with last query made by codeigniter.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
echo "<div style='background:white;color:black;position:absolute;margin:10px;padding:10px;bottom:10px;right:10px'>" . $this->db->last_query() . "</div>";