Hi davek,
@ 1:50:14 PM on 4/14/2001, davek wrote:
> Does anybody know how to fix this error? "Supplied argument is not a
> valid MS SQL-Link resource" I am running:
...
> $Conn=mssql_connect('192.168.1.20','username','password')
or die("Could not connect to the mssql server");
> $ThisConnect=
http://us.php.net/manual/en/function.mssql-select-db.php
*_select_db does not return a connection id, it returns true or false.
Just change your script like this:
$Conn=mssql_connect('192.168.1.20','username','password');
mssql_select_db('My_Database',$Conn);
$QueryString="select id, name from
Does anybody know how to fix this error? "Supplied argument is not a valid
MS SQL-Link resource" I am running:
NT4
MSSQL7.0
IIS4
PHP 4.0.4pl1
I've been running php3 for some time now without any problems but want to
upgrade to 4. This error seems to be occuring at the mssql_query()
function.
3 matches
Mail list logo