Hey guys, just wondering what is the best practice to do mysql queries in CI. Do I need to escape the query using db->query->escape?
Additionally, outputing stuff from the db so it doesn't break my html form what's the difference between using xss_escape and using php's htmlentities() functions.
Thanks in advance.