
August 22nd, 2004, 09:27 AM
|
|
Contributing User
|
|
Join Date: Feb 2004
Location: Singapore
Posts: 83
Time spent in forums: 7 h 19 m 18 sec
Reputation Power: 0
|
|
|
Please Help : Result wont' display
i'm a newbie in PHP-ORACLE. please help me,why the result wont display. there is no error. maybe need some setting or what. please help me.. thanks
<?php
$conn = OCILogon("scott", "tiger", "johan");
// Select Data...
$s = OCIParse($conn, "select * from table1");
OCIExecute($s, OCI_DEFAULT);
while (ocifetch($s)){
echo "ID =" .ociresult($s,"id")." ";
echo "Name =" .ociresult($s,"name")."\n";
}
?>
|