note 95851 rejected from function.odbc-connect by danbrown
| From: | danbrown@php.net | Date: | Mon, 25 Jan 2010 21:36:43 +0000 |
| Subject: | note 95851 rejected from function.odbc-connect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165297@lists.php.net to get a copy of this message | ||
Note Submitter: e dot khalil at hotmail dot com
----
Hi everybody!
I wish to know how to make Php & Oracle connection?
I'm using 'ODBC Driver'...
To test connection,i've written this code:
<?php
$dsn = "EST";
$username = "khalil";
$password = ""; //which password ?? (i have no one)
$cnx = odbc_connect($dsn, $username, $password);
if($cnx)
echo "Success";
else
echo "Failure";
?>