note 11871 rejected and deleted from function.mssql-query.php by ronabop
| From: | ronabop@php.net | Date: | Sun, 11 Mar 2001 10:45:06 +0000 |
| Subject: | note 11871 rejected and deleted from function.mssql-query.php by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12267@lists.php.net to get a copy of this message | ||
$sql = "INSERT INTO Tradetemp (holder_name,
card_type)VALUES('$holder_name',$card_type')";
$connection = mssql_connect("ELVIS_FAI","ElvisLF","54321")or
die("Connect Error!");
$db = mssql_select_db("BookShop", $connection) or die("Database Error!!");
$sql_result = mssql_query($sql, $connection) or die("Query Error!!");
< When I run this program, it will display " Query Error!!", but the data can full
transfer to SQL Server by SQL statement. But when check the value in sql_result is none. Can help me
solve this question. >