bad use of get_StringArray. More than one row in result! SELECT `songs`.`song_id`, `songs`.`artist_id`, `songs`.`album_id` FROM `songs`, `artists` WHERE `songs`.`song_title_translit`='potomu-chto-nelzya' AND `artists`.`artist_title_translit`='belyj-orel' AND `songs`.`artist_id`=`artists`.`artist_id`;