On Mon, June 4, 2007 11:02 pm, karthi keyan wrote: > Is there any way to print the reason why the query has been failed, > like the way MySQL-PHP has mysql_error()? Gee, I dunno. You think there might be? Maybe it's in the manual?! http://us2.php.net/manual/en/ref.mssql.php There are only 40 functions there. You are already using at least 5 of those, if you have anything working at all. 20 of them are so obviously named that they cannot possibly be what you want. Did you put even 10 SECONDS into this before posting?! -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php