php accessing oracle
| From: | Martin Langlois | Date: | Tue, 19 Jun 2001 19:34:53 +0000 |
| Subject: | php accessing oracle | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9635@lists.php.net to get a copy of this message | ||
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