RE: Question: For no results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The closing ?> of a PHP segment also implies an
> end-of-statement semicolon
> -- so the above is equivalent to:
> 
>    if ($row_rsCS == false) ;
>    ?>
> 
> Which, of course, means that the scope of the if
> doesn't extend to anything
> beyond this point.
> 
> You need to mark the block controlled by the if,
> using either {-} or
> :-endif, according to your taste.
> 
The reason the close is there is because the next line
of code is the print_r , and I put some html in there.


Stuart

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux