RE: [PHP-DB] MSSQL, FreeTDS, PHP

From: Date: Fri, 01 Dec 2000 08:06:47 +0000
Subject: RE: [PHP-DB] MSSQL, FreeTDS, PHP
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-4918@lists.php.net to get a copy of this message
ok take a look at http://www.php.net/manual/ref.mssql.php mssql_connect, mssql_pconnect "Swerdloff" <swerdloff@swerdloff.com> escribió en el mensaje news:Pine.LNX.3.96.1001130124310.1559B-100000@selene.host4u.net... Stupid stupid question, I know. How do I find the connectionID? I'm not used to working with MSSQL, and am brand new to PHP. -Jonathan Swerdloff http://www.swerdloff.com/ On Thu, 30 Nov 2000, David Vázquez wrote: > try with mssql_query(sql_string, connectionID) > > > "Swerdloff" <swerdloff@swerdloff.com> escribió en el mensaje > > news:Pine.LNX.3.96.1001130112519.24185T-100000@selene.host4u.net... > > Has anyone here been successful in getting PHP to work with Microsoft SQL > > server 7.0? I've got a pretty basic and reasonably simple question about > > it, but I'm stymied from lack of Red Bull in my diet. > > > > Why is mssql_query() not working? I'm using it for an insert, and it's > > not returning anything - the SQL comes out correctly, but the fuction > > isn't returning anything. > > > > I'm using the following: > > > > function db_query($qstring) { > > global $sys_dbname; > > return @mssql_query($sys_dbname,$qstring); > > } > > > > where $sys_dbname is the name of the database and $qstring is the name of > > the query string. > > > > I have got freeTDS installed and pointed to... do I need more/am I going > > completely down the wrong path? > > > > I'm sure it's obvious, I'm new at this. I know this has been covered > > before, but none of the answers answer the question, they just say > > "install freetds" which is done, but my INSERTS still don't happen. > > > > Followup question: > > Is there a web archive of this list that I haven't found yet? > > > > -Jonathan Swerdloff, > > http://www.swerdloff.com/ > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > > For additional commands, e-mail: php-db-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#4918) next »