MSSQL Query

From: Date: Thu, 10 Aug 2000 16:05:46 +0000
Subject: MSSQL Query
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1936@lists.php.net to get a copy of this message
Hi, Do you know if it is possible to do the following on Windows 2000 server / MSSQL 7.0 database / IIS 5.0 / PHP 4.0 / php_mssql70.dll <?php $hostname = "win2000"; $username = "usr"; $password = "usr1000"; $dbName = "OCCASIONS"; MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO RESPOND."); mssql_select_db($dbName) or DIE("Table unavailable ($dbName) "); $query = "INSERT INTO AUTO (MERK,MODEL,UITVOERING,BOUWJAAR,KMSTAND,PRIJS) VALUES ('VOLKSWAGEN GOLF','1.9 TDI','3 DEURS CABRIOLET','1997','115000','38000.00')"; MSSQL_QUERY($query); ?> So my question is can I run ordinary SQL commands with MSSQL_QUERY() Greetings, Chris -- 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 (#1936) next »