I need to run a function that highlights a searched word on each row that is pulled from the db. I've been trying to use array_walk(), but can't get it to work right.
PHP Code:
$row_rsCC mysql_fetch_array($rsCC);
I've also tried this, but it only hightlights the first row:
PHP Code:
$row_rsCC str_highlight($row_rsCC$getQuery); 
What's going on here? Can you not call array_walk() on a fetched array?

Or is there a better way to do this?