codeigniter数据库错误信息获取

WBOY
リリース: 2016-06-06 20:08:22
オリジナル
1670 人が閲覧しました

db_debug TRUE/FALSE (boolean) Whether database errors should be displayed. 需要设置db_debug = false Yes, this is the mysql_error wrapper.$this-db-_error_message;And the mysql_errno wrapper is:$this-db-_error_number; via: http://stackoverfl

db_debug – TRUE/FALSE (boolean) – Whether database errors should be displayed.
需要设置db_debug = false

Yes, this is the mysql_error() wrapper.
$this->db->_error_message();
And the mysql_errno wrapper is:
$this->db->_error_number();
ログイン後にコピー

via:

http://stackoverflow.com/questions/3234564/under-codeigniter-is-it-possible-to-see-mysql-error

ソース:php.cn
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
最新の問題
人気のおすすめ
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!