Jump to content

PHP 5.0.3 and SQL SERVER 2000 INSERT Query


ngc

Recommended Posts

I'm using PHP 5.0.3 and SQL SERVER 2000.

When I execute the below query, the row is inserted;
however, the die function is also executed.

$query = "INSERT INTO change_control (CHANGE_ID) VALUES (56812)";

$stmt = mssql_query($query) or die("INSERT change_control failed");

SELECT and UPDATE queries are not a problem.
Link to comment
https://forums.phpfreaks.com/topic/6121-php-503-and-sql-server-2000-insert-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.