Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mssql errors

Status
Not open for further replies.

andreas57

Technical User
Joined
Sep 29, 2000
Messages
110
Location
CH
ive got a db-class for mysql which i transformed to mssql but i can't seem to fetch the errors. it's allways displayed in the browser but i can't find the variable. the error occures with this line:

$this->Query_ID = mssql_query($Query_String,$this->Link_ID);

it's not in $this->Query_ID and i can't find a mssql_error funtion in php.

the data i'm writing into the table sometimes throws a unique-exception which i'd like to catch and give out a custom error message.

what can i do?

andreas owen
aowen@swissonline.ch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top