# Making keywords distinct

**URL:** https://forum.kirupa.com/t/making-keywords-distinct/36566
**Category:** programming
**Created:** [November 28, 2003, 8:08am UTC](https://forum.kirupa.com/t/making-keywords-distinct/36566 "2003-11-28T08:08:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ikane\_marshal](https://avatars.discourse-cdn.com/v4/letter/i/b9bd4f/32.png) [@ikane\_marshal](https://forum.kirupa.com/u/ikane_marshal)
#### Post date: [November 28, 2003, 8:08am UTC](https://forum.kirupa.com/t/making-keywords-distinct/36566/1 "2003-11-28T08:08:18Z")

</div>

A bit of a newbie question here:

Im building a search engine on php and mysql using a keyword search. Im spliting the keywords at the spaces and searching for each individual keyword eg. if I search for broom stick, I split it into broom and stick then serach for broom then stick but if a listing has the keywords broom and stick it comes up twice, and if I search for room I still get the same results.
