> 
> > Importance: High
> > Sensitivity: Confidential
> 
> Is this being done by your server or by you?
> 

By me, because of my Company's policies and requirements. Sorry if it
bothers anyone :)

> > 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?
> 
> Ok. If it prints zero that means it's (a) your SQL query works, (b)
your
> retrieving the value correctly from the $result.

There was an error actually in the query, that was passed while copying
one of Ralph's answers. Just a Typo that I didn't saw earlier.

> 
> $row['total_size'] seems to be working as expected. If it wasn't
working
> correctly it'd probably print "Array" or something.
> 
> You're next option would be to try print_r();
> 
> 
> echo "<pre>";
> print_r($row);
> echo "</pre>";
> 
> That will show you exactly what's in $row.
> 

Thanks to everyone who helped me with this.

Cesar




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

Reply via email to