Date: 11/10/00
- Next message: Nebbe, Joelle: "[PHP] An elegant way to send "generic" email messages"
- Previous message: Andreas Pour: "Re: [PHP] ip adress spoofing"
- Next in thread: Brian Clark: "Re: [PHP] string comparison on numerical array"
- Reply: Brian Clark: "Re: [PHP] string comparison on numerical array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I use the explode() function to split an article into words.so each element
in the array is a word.how can i then do a string comparsion on this array
to match a keyword provided in a search.
i.e
$article[$i] = $keyword;
so $keyword is provided and i need to get the value of $i.
i'm doing this in order to display a snippet or snippets of text containing
the keyword.
thanx.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Nebbe, Joelle: "[PHP] An elegant way to send "generic" email messages"
- Previous message: Andreas Pour: "Re: [PHP] ip adress spoofing"
- Next in thread: Brian Clark: "Re: [PHP] string comparison on numerical array"
- Reply: Brian Clark: "Re: [PHP] string comparison on numerical array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

