Jump to content


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


PHP 5.0.3 and SQL SERVER 2000 INSERT Query

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.

Share this post

Link to post
Share on other sites


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.