Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: maxdb_report - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net

search for in the

maxdb_rollback" width="11" height="7"/> <maxdb_real_query
Last updated: Wed, 01 Nov 2006
view this page in

maxdb_report

(PECL)

maxdb_report -- 内部のレポート関数を有効あるいは無効にする

説明

bool maxdb_report ( int flags )

例 1. 手続き型

<?php
/* レポートを有効にします */
maxdb_report(MAXDB_REPORT_ERROR);

$link = maxdb_connect("localhost", "MONA", "RED", "DEMODB");

/* 接続を調べます */
if (maxdb_connect_errno()) {
  
printf("接続に失敗しました: %s\n", maxdb_connect_error());
   exit();
}

/* このクエリはエラーを報告します */
$result = maxdb_query($link,"SELECT Name FROM Nonexistingtable WHERE population > 50000");

maxdb_close($link);
?>

上の例の出力は、たとえば以下のようになります。

Warning: maxdb_query(): -4004 POS(18) Unknown table name:NONEXISTINGTABLE <...>


add a note add a note User Contributed Notes
maxdb_report
There are no user contributed notes for this page.

maxdb_rollback" width="11" height="7"/> <maxdb_real_query
Last updated: Wed, 01 Nov 2006
 
 
show source | credits | sitemap | contact | advertising | mirror sites