search question

From: Date: Wed, 27 Nov 2002 19:59:58 +0000
Subject: search question
Groups: php.general 
Request: Send a blank email to php-general+get-126344@lists.php.net to get a copy of this message
Hello, I'm wondering what you all think the best way to "search" for a string is. I guess its more of a matching (regex I'm thinking) but basically what I want is this.. I'm outputting some rows of data. If one of the columns of that row contain a string of text, either beginning, end, or middle, highlight it with a different row color. The part I need opinions on is matching the search. Would I just do an ereg/preg? Thanks, Bryan

« previous php.general (#126344) next »