$sql_select="SELECT tblArtist.artist_id, tblArtist.artist_star_name, tblArtist.artist_fname_en,tblArtist.artist_fname_th FROM tblArtist inner join tblTypeOfArtist on tblArtist.artist_id = tblTypeOfArtist.artist_id where ( (tblArtist.artist_fname_en like '$names%') or (tblArtist.artist_fname_th like '$names%' ) or ( tblArtist.artist_star_name like '$names%' ) ) and (tblTypeOfArtist.artist_type_id = 1 ) order by tblArtist.artist_fname_en, tblArtist.artist_fname_th;";