# Ignore &nbsp; with php/mysql search

**URL:** <https://forum.kirupa.com/t/ignore-nbsp-with-php-mysql-search/239041>\
**Category:** programming\
**Created:** [September 18, 2007, 9:24am UTC](https://forum.kirupa.com/t/ignore-nbsp-with-php-mysql-search/239041 "2007-09-18T09:24:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaid\_W1red](https://avatars.discourse-cdn.com/v4/letter/z/cab0a1/32.png) [@Zaid\_W1red](https://forum.kirupa.com/u/Zaid_W1red)\
**Post date:** [September 18, 2007, 9:24am UTC](https://forum.kirupa.com/t/ignore-nbsp-with-php-mysql-search/239041/1 "2007-09-18T09:24:03Z")

</div>

Hey Guys,

I’ve got a strange one on my hands.

Ive done a site for a client with a search facility.

They have a product called ‘NBS’. When using sql LIKE and MATCH against methods to searh the DB for NBS …im returned pages that contain ’&nbsp;'.

I’m totally at a loss as to how to ignore these instances …anyone have any suggestions?
