开发者

How can I escape manually using the Database library with Kohana 3?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜