php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7371 how do we get the error message that most odbc drivers provide when it fails.
Submitted: 2000-10-20 14:33 UTC Modified: 2000-10-21 04:14 UTC
From: gordonl at tts-sf dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 3.0.17 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gordonl at tts-sf dot com
New email:
PHP Version: OS:

 

 [2000-10-20 14:33 UTC] gordonl at tts-sf dot com
how do we get the error message that most odbc drivers provide when it fails.

I use the odbc_pconnect function and odbc_exec function to run my set role and sql statements.

If I have statement fail, informix returns an error message. 

How do i get this text so I can find out what went wrong?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-21 04:14 UTC] kara@php.net
Turn "track_errors" on and the last error message will be in $php_errormsg. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 08:01:30 2024 UTC