Darvin Andrioli wrote:
-Messaggio originale-
Da: Alf Stockton [mailto:[EMAIL PROTECTED]
Inviato: lunedì 12 settembre 2005 17.45
[...]
So my code reads:-
if(($rs = TRUE)) {
^^^
Is it your code or do you forget many "=" in the example?
It should be if(($r
Darvin Andrioli wrote:
-Messaggio originale-
Da: Alf Stockton [mailto:[EMAIL PROTECTED]
Inviato: lunedì 12 settembre 2005 17.45
[...]
So my code reads:-
if(($rs = TRUE)) {
^^^
Is it your code or do you forget many "=" in the example?
It should be if(($rs === TRU
> -Messaggio originale-
> Da: Alf Stockton [mailto:[EMAIL PROTECTED]
> Inviato: lunedì 12 settembre 2005 17.45
[...]
> So my code reads:-
>
> if(($rs = TRUE)) {
^^^
Is it your code or do you forget many "=" in the example?
It should be if(($rs === TRUE))
Darvin
--
PHP
I am apparently misunderstanding the mssql_query entry in the manual.
The manual reads:-
Returns: A MS SQL result resource on success, *TRUE* if no rows were
returned, or *FALSE* on error.
From that I believe that if I test result for TRUE I should report a no
data available and if FALSE disp