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
[PHP-WIN] Checking for result of call to mssql_query()
by Alf Stockton other posts by this author
Oct 12 2006 5:30AM messages near this date
[PHP-WIN] re: SPAM-LOW: [PHP-WIN] PDO ODBC & MSSQL Stored Procedures that return record sets | Re: [PHP-WIN] Checking for result of call to mssql_query()
Am I misunderstanding the PHP Manual, where it says:-
mixed *mssql_query* ( string query [, resource link_identifier [, int
batch_size]] )

Returns: A MS SQL result resource on success, *TRUE* if no rows were
returned, or *FALSE* on error.

 and my code reads:-

$Reply = mssql_query($insert, $link);
if ($Reply == FALSE)
        {
whether the query works or not I have yet to find $Reply equal to FALSE.
Please tell me what I am misunderstanding and what is the correct method 

-- 
Regards,
Alf Stockton		www.stockton.co.za
 
You will always have good luck in your personal affairs.
My email disclaimer is available at www.stockton.co.za/disclaimer.html

-- 
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
© 2004 ActiveState, a division of Sophos All rights reserved