$id_chart = $_GET['id'];
$strs = "select * from chart_detail cd,chart cc,star_song ss where cd.id_song = ss.id and cd.id_chart ='". $_GET[id]."'and cc.id = '". $_GET[id]."' order by cd.ordering ASC";
แล้วมางานส่วนนี้
$strSQL = "select * from star_profile inner join star_song on star_profile.id = star_song.artist_id where (star_profile.name LIKE '".$_GET["txtsearch"]."' or star_profile.keyword LIKE '".$_GET["txtsearch"]."' )";