I want to query a table of text articles and when selecting them I am
wondering if I can grab the actual size of the articles in question.
So if someone has two articles, I want to see if they have reache 100kb
in total.
Does that make sense to anyone? is that possible with PHP?
Jeff
Untested, but looks about right:
select sum( length( article_text ) ) as total
from articles_table
where user_id = 'user to match;
This is SQL though, so it's kinda OT.
Cheers,
Rob.
On Fri, 2003-08-22 at 22:45, Jeff Lewis wrote:
I want to query a table of text articles and when
2 matches
Mail list logo