---
title: "Discussion on \"Highlight matched words in a search\" | Hashnode"
description: "Discussion on \"Highlight matched words in a search\". This tutorial will show you how to highlight words from a search.\n\nTo learn how to search with php see Searching with PHP and MySQL beyond LIKE\n\nFirst here is the function that will detect which words if any to highlight. The function expects 2 param..."
url: "https://hashnode.com/posts/highlight-matched-words-in-a-search/61456007e1f56817e3605790"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Highlight matched words in a search](https://dcblog.dev/highlight-matched-words-in-a-search?utm_source=hashnode&utm_medium=feed)

This tutorial will show you how to highlight words from a search. To learn how to search with php see Searching with PHP and MySQL beyond LIKE First here is the function that will detect which words if any to highlight. The function expects 2 param...

Jul 28, 2012 · 2 min read · dcblog.dev  
Read the article

## Written by

[David Carr](https://hashnode.com/@dcblogdev)

@dcblogdev · United Kingdom

  
[View profile](https://hashnode.com/@dcblogdev)

Web developer

Blogger at http://dcblog.dev.

## Responses

Markdown supported · ⌘↵ to post

[Positive Mantras](https://hashnode.com/@positivemantras)

[Sep 17, 2024](https://hashnode.com/posts/highlight-matched-words-in-a-search/61456007e1f56817e3605790/comment/66e9ee748ed1de78e24afa14)

Thanks for the tutorial on how to highlight large and [positive words](https://chi-nese.com/list-of-positive-words/) from this list. I am very new to PHP and MySQL!
