Home Download Buy Blog Forum Support

SQL in PHP display

SQL in PHP display

Postby billehunt on Wed Apr 18, 2012 3:32 pm

Hey,

In Sublime, this shows the SQL in pretty colors:
Code: Select all
$result = $this->db->query("SELECT COUNT(id) as count
   FROM users
   WHERE TYPE='consumer'
")->result();


whereas this just shows the SQL as all one color:
Code: Select all
$result = $this->db->query("
   SELECT COUNT(id) as count
   FROM users
   WHERE TYPE='consumer'
")->result();


Any thoughts on how to fix?

Thanks!
billehunt
 
Posts: 7
Joined: Tue Jan 31, 2012 12:51 am

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 14 guests