"; $getarticle = mysql_query("SELECT * FROM articles WHERE id=$id AND live=1"); $title = mysql_result($getarticle, 0, title); $content = nl2br(mysql_result($getarticle, 0, content)); $image = mysql_result($getarticle, 0, image); $id = mysql_result($getarticle, 0, id); $catid = mysql_result($getarticle, 0, relcategory); echo "Article: $title

"; if (strlen($image) > 1) { echo ""; echo ""; echo "
"; echo "
"; echo "
".articleImage($id, 250, 0, 0, 1)."
"; } echo $content; $getheading = mysql_query("SELECT * FROM articles WHERE id=$catid AND live=1"); $title = mysql_result($getheading, 0, title); $id = mysql_result($getheading, 0, id); echo "

return to $title."; echo ""; } else if (isset($cat)) { $getcatinfo = mysql_query("SELECT * FROM articles WHERE live=1 AND iscategory=1 AND id=$cat LIMIT 1"); $title = mysql_result($getcatinfo, 0, title); $content = nl2br(mysql_result($getcatinfo, 0, content)); $image = mysql_result($getcatinfo, 0, image); $id = mysql_result($getcatinfo, 0, id); echo "Category: $title

"; if (strlen($image) > 1) { echo ""; echo ""; echo "
"; echo "
"; echo "
".articleImage($id, 250, 0, 0, 1)."
"; } echo $content; echo "
"; echo "

Sections listed within this category:"; echo "
return to music resources"; } else { echo "Here are some resources about the music industry:"; echo ""; } ?>