ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-windows
php-windows
Re: [PHP-WIN] Checking for result of call to mssql_query()
by Niel Archer other posts by this author
Oct 12 2006 9:40AM messages near this date
[PHP-WIN] Checking for result of call to mssql_query() | Re: [PHP-WIN] Checking for result of call to mssql_query()
Hi Alf

You'd be better off asking this type of question in the database list. 
I'm not familiar with MS-SQL, the syntax doesn't look much different to
the MySQL flavour.

When you say " whether the query works or not"  do you mean the query is
failing with an error, or it simply returns no data?  I'd suggest you
test for TRUE first to determine if the query suceeded, but returned no
data.  If that fails, test for FALSE.

Niel

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Alf Stockton
Niel Archer
Alf Stockton
Alf Stockton
Alf Stockton

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved