Jump to content


Photo

PHP 5.0.3 and SQL SERVER 2000 INSERT Query


  • Please log in to reply
1 reply to this topic

#1 ngc

ngc
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 29 March 2006 - 07:49 PM

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.

#2 dmbfansim

dmbfansim
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 06 April 2006 - 02:40 PM

I am have the same problem. Can anyone help with an answer?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users