On Monday 15 July 2002 01:00, Peter J. Schoenster wrote:

> I may be doing this all the wrong way :) so feel free to let me know,
> thanks.

I'm not going to comment on your overall concept.

> I've been developing a q/a database. I don' want to search on "what I
> consider" common words. Certainly there must be a list of these. Anyhow, I
> explode the question string into words and then iterate as such:
>
>
> foreach($words as $Key=>$Value) {
>       if($ignoreWords[strtolower($Value)]) {
>               continue;
>       }

You would be better off using array_diff().

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Conquering Russia should be done steppe by steppe.
*/


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

Reply via email to