You only need to read the field names using (mysql_field_name) function
and the fields number using (mysql_num_fields) function
after that you can loop at all the fields in you table and read what ever data in there compare it with your search word then you can replace the matching words with a different color
If you need more help
I think I can help you
good luck
🆒