> 
> So it's not returning any results?
> 
> What happens when you do the following...
> 
> >>     } else {
> >>        $n = $row['total_size'];
>               echo ":$n:";
> 
> Put that echo statement in your code and see what happens.
> 
> If you've already done this and it prints :: (as opposed to :0: which
> would indicate a value of zero) then you're sql query is not correct
or
> there are just no rows that match what you're looking for.
> 
[Cesar Aracena] 

It does print 0 so I guess something must be wrong somewhere else. My
guess is that $row['total_size'] is not fetching anything. Shouldn't the
function contain a mysql_fetch_array somewhere?

Thanks

Cesar



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

Reply via email to