Refactored code for customer search into a more MVC type model. Letting JavaScript do all the formatting work rather than returning it pre-formatted. So, search results for customers now return in JSON form. JavaScript takes the JSON and formats it into customer divs and then displays it. Before, PHP was doing the database work and the formatting then just returning it to JavaScript which then just displayed it.

The downside of the previous method was that it didn't allow for easy CSS modification down the road. It also didn't allow for data to be retrieved and then displayed in different formats easily. Returning in JSON form (from server-side) is the best way to go from now on.
This project requires PHP 5.2+ due using the json_encode method. It was incorrect to say PHP 5.1+ earlier.