php man page for maxdb_report

Query: maxdb_report

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MAXDB_REPORT(3) 							 1							   MAXDB_REPORT(3)

maxdb_report - Enables or disables internal report functions

SYNOPSIS
bool maxdb_report (int $flags)
DESCRIPTION
PARAMETERS
o $flags - One of the MAXDB_REPORT_XXX constants.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Procedural style <?php /* activate reporting */ maxdb_report(MAXDB_REPORT_ERROR); $link = maxdb_connect("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } /* this query should report an error */ $result = maxdb_query($link,"SELECT Name FROM Nonexistingtable WHERE population > 50000"); maxdb_close($link); ?> The above example will output something similar to: Warning: maxdb_query(): -4004 POS(18) Unknown table name:NONEXISTINGTABLE <...> PHP Documentation Group MAXDB_REPORT(3)
Related Man Pages
maxdb_insert_id(3) - php
maxdb_multi_query(3) - php
maxdb_ping(3) - php
maxdb_select_db(3) - php
maxdb_warning_count(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch