$value) { $query .= "`ta_id` = '".$value."' OR "; } $query = substr($query, 0, -4); $sql = mysql_query($query) or die (mysql_error()); while ($arr = mysql_fetch_assoc($sql)) { $artist_array[] = $arr; } } $returnarr['db_array'] = $artist_array; $returnarr['num_rows'] = mysql_num_rows($sql); return $returnarr; } if ($_GET['rl'] == '') { header("location: https://thisishard.style"); } else { $safe_url = preg_replace("/[^a-z0-9]+/", "", $_GET['rl']); $query = "SELECT * FROM `tih_releases` WHERE `tr_url` = '".$safe_url."' LIMIT 1"; $sql = mysql_query($query) or die (mysql_error()); $release_array = mysql_fetch_assoc($sql); $artists = get_artists($release_array['tr_artist_ids']); } ?> THIS IS HARDSTYLE |

-

Choose your music portal


$prtl) { if ($release_array['tr_linkto_'.$prtl]) { echo ''.ucfirst($prtl).''; } } ?>