Not able to connect Oracle through PHP
533006May 30 2007 — edited Jun 13 2007Hello All ,
I am trying to connect Oracle DB through PHP script . But I am not able to do so .
My code is :
<?php
echo "PRASHANT" ;
include 'include/odb.php';
include 'include/ReadConfig.php';
$conn=OrclConnect('orcl');
$conn->SetFetchMode(ADODB_FETCH_BOTH);
echo "DWIVEDI" ;
?>
But when I ran this script throgh command prpmpt , I am getting the first echo message .. But not the last one ( echo "Dwivedi") .
I am not able to connect Oracle DB through this script .
Please some one help me out where I am wrong with script .
Thanks
Prashant Dwivedi