I'm writing a php script that connects to a Oracle 7 database using OCI.

The login is successful, the function OCIServerVersion() returns the server version text correctly

But when I perform a select statement, the data fetch is corrupted for example "<1-@"

Below is my script

$conn = OCILogon("lds","lds",$db);
$stmt= ociparse($conn,"select * from tab ");
$result = OCIresult($stmt,"TNAME");
print $result;

My Remote server is Oracle 7.2
PHP version 4.2.3
apache 1.3.12
I installed Oracle9 on the local server
OCI manages to login to the Oracle9 server and performs properly

What could be wrong?