If you use PHP on Windows NT, you have to uncomment extension=php_oracle.dll
in your php.ini file, and copy php_oracle.dll to winnt\system32.
If you have installed Oracle8 client, you can also use php_oci8.dll (even
with a 7.3 database), with the OCILogon functions, etc...
I don't know what to do on another platform, sorry.
Best regards,
Philippe

""Martin Langlois"" <[EMAIL PROTECTED]> a écrit dans le message news:
9go9fn$1e3$[EMAIL PROTECTED]
I want to make a query from a oracle database with php. That's what I do:

$link=Ora_Logon("user","1234");
$query = "select * from sales";
$cursor = ora_do($link,$query);
while(ora_fetch($cursor))
{
print "$cursor";
}

I have an arror, it's doesn't recongnize ora_logon() function.

Do i have to include something special?




--
Martin Langlois
Programmeur-analyste
Inter.net Canada
5252, boul. de Maisonneuve Ouest
bureau 200
Montréal,Qc
H4A 3S5

http://www.ca.inter.net




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to