Re: Question about MSSQL

From: Date: Mon, 11 Dec 2000 12:22:03 +0000
Subject: Re: Question about MSSQL
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-5176@lists.php.net to get a copy of this message
I'm a bit confused - is $request being generated, or $result? That aside, what exactly are you querying? I don't see your mssql_connect statement. The handle this returns must be massed to the mssql_query. If you're still having problems, I have written quite an elegant PHP class which handles MSSQL. I'm sure I could send this to you with some simple instructions. ""Julio Cuz, Jr."" <jcuz@rccd.cc.ca.us> wrote in message news:4.3.2.7.2.20001208161446.03ee3330@rccd.cc.ca.us... > Hi-- > > My problem is this: > > $sql = "INSERT INTO Facilities (Date, Address) > VALUES('$date','$address')"; > $result = mssql_query($sql); > > echo "$request"; > echo "$date"; > echo "$address"; > > The variable $request is set to "don't allow nulls" and it's generated by > MSSQL automatically, but I don't know what the new value is since the user > is not entering that info, how can I find out what the value of $request is > since it's generated by MSSQL? > > > Julio Cuz, Jr. > Riverside Community College > jcuz@rccd.cc.ca.us

« previous php.db (#5176) next »