Basic Search functionality using PHP, MySQL and JS