Really Super Dumb MSSQL (NOTE: Microsoft SQL) Question
| From: | Ron dot Herhuth at tatumpartners dot com | Date: | Wed, 19 Jan 2005 15:20:00 +0000 |
| Subject: | Really Super Dumb MSSQL (NOTE: Microsoft SQL) Question | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25399@lists.php.net to get a copy of this message | ||
I feel stupid asking this but I did a quick search and couldn't find an
answer.
When I write a simple query to query MSSQL...is there a simple way to know
if the query executed without error? I'm looking to do a simple if then
statment to inform the user if the database information was added
successfully to the database.
if I do an:
echo $result = mssql_query($query);
I get a resource ID... is it safe to assume that if a resourceID is
returned that I can print a success message?
Ron