[PHP-DB] MSSQL connect

2001-12-21 Thread Jerry
Hi I have PHP on windows 2000 web server I would like to remote to a MS SQL database on another web server. I tried something like: ?pup $h = server adr; $u = user; $p = passw; $b = db; $connexion = mssql_connect($h, $u, $p); mssql_select_db($b); $sql = select * from test; $result =

[PHP-DB] mssql connect problem from php4 on linux

2001-05-11 Thread Peter Wilson
Hi everyone I am trying to set up php4, apache on linux redhat 7 to connect to Microsoft SQL server version 7 or 2000. I have downloaded the sybase open client libraries and installed the common rpm and the openclient rpm. When i try a mssql_connect(...,user,pass); I get: Warning: Sybase: