Developer Forums | About Us | Site Map
Search  
HOME > PHPMANUAL


Sponsors





Web Host
site hosted by netplex
Partners

Online Manuals

ocierror

(PHP 3>= 3.0.7, PHP 4 )

ocierror -- Return the last error of stmt|conn|global

Description

array ocierror ( [resource stmt|conn|global])

ocierror() returns the last error found. If the optional stmt|conn|global is not provided, the last error encountered is returned. If no error is found, ocierror() returns FALSE. ocierror() returns the error as an associative array. In this array, code consists the oracle error code and message the oracle errorstring.

As of PHP 4.3: offset and sqltext will also be included in the return array to indicate the location of the error and the original SQL text which caused it.

Copyright 2004-2017 GrindingGears.com. All rights reserved. Site hosted by NETPLEX