
July 8th, 2002, 04:41 PM
|
|
Junior Member
|
|
Join Date: Jul 2002
Location: London/Stockholm
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Thanks both of you!
My application is going to run through the whole newspaper archive looking for one or two words at the click on a webpage so I will be looking hard for a solution where the counting is done on the database side.
As I interpret your solution, Waltjp, I would have to fetch each article as a string into my script (php) and do the counting there?
And as to your solution, NoXcuz, I'm going to test it tomorrow. (Tested for 10 minutes now without success, getting late.) You make it look like this size-measuring function is a common kind of thing with different database standards, and I am obviously delighted to see that. Does anybody know if it is so common it has even been implemented in any database abstraction layer? (I happen to be using PEAR DB under php)
Thanks again
/Beetrader
|