I need to quote a string a string in PHP using Kohana 3's Database library. In 2.3, all I had to do is $this->db->escape().
How can I do this in 3? I seem to remember seeing something like quot开发者_JS百科e() when I was viewing the source, but for the life of me can I find it again.
The Database class has a escape() method, look here.
加载中,请稍侯......
精彩评论