I'm pretty sure
if(!empty($result_deferred_comments)) {
does something else than you think it does.
$result_deferred_comments = mssql_query($deferred_comments) or
die(mssql_error());
if it fetches any rows it will return a RESOURCE (yes, a resource which
is NEVER empty()), if it has 0 rows,
On 22/08/07, M. Sokolewicz [EMAIL PROTECTED] wrote:
I'm pretty sure
if(!empty($result_deferred_comments)) {
does something else than you think it does.
$result_deferred_comments = mssql_query($deferred_comments) or
die(mssql_error());
if it fetches any rows it will return a RESOURCE (yes,
2 matches
Mail list logo