title: Check if MySQL column contains characters
body: <p>I have a search page on my website where you can type in the username of a person to bring up their profile although it only works when you type in their full username. I want to check if a rows username column contains a sequence of characters that the user types in so that when they type in: 'Mr' it will bring up the result 'MrDare360' and so on.</p>
  
  <p>This is the code I have at the moment: <a href="http://pastebin.com/68dgLZf8" rel="nofollow">http://pastebin.com/68dgLZf8</a></p>
  
  <p>What would be the easiest or best way of doing this?</p>