note 80873 added to function.odbc-connect
| From: | Ceeclipse at osu1 dot php dot net | Date: | Tue, 05 Feb 2008 09:36:11 +0000 |
| Subject: | note 80873 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135784@lists.php.net to get a copy of this message | ||
"Returns an ODBC connection id or 0 (FALSE) on error."
Keep in mind that the following code in PHP5 will not work properly:
<?php
if( odbc_connect("test", "test", "test") === false ) {
// Your error reporting/handling here..
}
?>
odbc_connect() returns an integer, and not a PHP5 boolean!
----
Server IP: 89.248.170.58
Probable Submitter: 83.98.252.88
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- https://master.php.net/note/edit/80873
Del: integrated -- https://master.php.net/note/delete/80873/integrated
Del: useless -- https://master.php.net/note/delete/80873/useless
Del: bad code -- https://master.php.net/note/delete/80873/bad+code
Del: spam -- https://master.php.net/note/delete/80873/spam
Del: non-english -- https://master.php.net/note/delete/80873/non-english
Del: in docs -- https://master.php.net/note/delete/80873/in+docs
Del: other reasons-- https://master.php.net/note/delete/80873
Reject -- https://master.php.net/note/reject/80873
Search -- https://master.php.net/manage/user-notes.php