I need some help please.
I got following code in my PHP:
<?
$conn=ora_logon("Daniel","daniel");
if ($conn){
ora_parse($query,"SELECT NAME,ADDRESS,PHONE FROM AGENDA");
ora_exec($query);
echo "<table>";
echo "<tr><th>Name</th><th>Address</th><th>Phone</th></tr>";
while (ora_fetch($query)){
echo "<tr>";
echo "<td>";
echo ora_getcolumn($query,1);
echo "</td>";
echo "<td>";
echo ora_getcolumn($query,2);
echo "</td>";
echo "<td>";
echo ora_getcolumn($query,3);
echo "</td>";
echo "</tr>";
} // while
echo "</table>";
ora_Logoff($conn);
}
else
echo "Connection fails";
?>
When I try to run my PHP file an error appears:
Fatal error: Call to undefined function: ora_logon() in D:\Projects\PHP\ConsultasOra.php on line 8
Do I need to install a special support for Oracle?
Do I need to get a Oracle's function library?
If my questions are true, Where can I find that libraries?
Thanks a lot
Daniel Baylon
Infolink Applications
dbaylon@infolinksa.com