Date: Thu, 1 Jul 1999 04:36:06 -0500 From: "Geocrawler.com" <archiver@db.geocrawler.com> To: freebsd-database@freebsd.org Subject: what\'s wrong (php3 - oracle8 ) Message-ID: <199907010936.EAA18754@db.geocrawler.com>
index | next in thread | raw e-mail
This message was sent from Geocrawler.com by "lqjiang" <lqjiang@web-tv.com.cn>
Be sure to reply to that address.
hi,
I use php3 the first time . I want connect to oracle8 (in linux),the script as:
<?php
/* OCIDefineByPos example thies@digicol.de (980219) */
$conn = OCILogon("scott","tiger");
$stmt = OCIParse($conn,"select empno, ename from emp");
/* the define MUST be done BEFORE ociexecute! */
OCIDefineByName($stmt,"EMPNO",&$empno);
OCIDefineByName($stmt,"ENAME",&$ename);
OCIExecute($stmt);
while (OCIFetch($stmt)) {
echo "empno:".$empno."\n";
echo "ename:".$ename."\n";
}
OCIFreeStatement($stmt);
OCILogoff($conn);
?>
the erro message is :
Fatal error: Call to unsupported or undefined function ocilogon() in /usr/local/apache/htdocs/q.php3
please tell me how to treat it ?
Geocrawler.com - The Knowledge Archive
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907010936.EAA18754>
