We have installed PHP 4.2.2 in a Solaris 2.6, with Netscape Enterprise 
Server 3.5.1 and Sybase SQL Server/11.0.3.3.
We compiled PHP with following options, and it was successful completed with 
no errors.

./configure --with-nsapi=/opt/netscape/suitespot --enable-track-vars 
--enable-libgcc --with-sybase=/opt/sybase

We're trying to execute a PHP page, but we getting the following errors 
messages.
Somebody knows what is happening?

Thanks

Ronald


<?php
#phpinfo();
$con = sybase_connect("MS_SQL1", "tools", "toolsy2k");
sybase_select_db('tcs_db');
$qry = sybase_query("select * from erbsfora", $con);
echo sybase_result($qry, 1, 1);
sybase_close($con);
?>

Warning: Sybase: A link to the server could not be established in 
/opt/netscape/suitespot/docs/teste.php on line 4

Warning: 0 is not a Sybase link index in 
/opt/netscape/suitespot/docs/teste.php on line 5

Warning: 0 is not a Sybase result index in 
/opt/netscape/suitespot/docs/teste.php on line 6

Warning: 0 is not a Sybase link index in 
/opt/netscape/suitespot/docs/teste.php on line 7





_________________________________________________________________
MSN Photos é a maneira mais fácil e prática de editar e compartilhar sua 
fotos: http://photos.msn.com.br


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to