dqhbuwrwq692118284 2012-04-23 00:47
浏览 39
已采纳

如何在codeigniter中引用数据库连接?

How can I call manually a PHP database function on CodeIgniter's database handler object? How to retrieve the connection ($dbc), or call a function like mysql_real_escape_string($dbc, $variable)?

  • 写回答

3条回答 默认 最新

  • dongtanhe4607 2012-04-23 01:12
    关注

    You can call any mysql native function and access mysql connection id.

    See CodeIgniter User Guide

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?