Re: php accessing oracle

From: Date: Wed, 20 Jun 2001 06:38:34 +0000
Subject: Re: php accessing oracle
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-9646@lists.php.net to get a copy of this message
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"" <langloism@team.inter.net> a écrit dans le message news: 9go9fn$1e3$1@w153.z064000151.sjc-ca.dsl.cnc.net... 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

« previous php.db (#9646) next »