"; print "
"; $get_media = mysql_query("SELECT `media_link` FROM `link_media` NATURAL JOIN `link_media2partner` WHERE `partner_ID` = '$this_partner_ID' ORDER BY `media_order` LIMIT 2"); $all_media_rows = mysql_num_rows($get_media); for($m = 0; $m < $all_media_rows; $m++) { $media_row = mysql_fetch_array($get_media); print "
"; } print "
"; print "
"; print " "; print "

" . html_entity_decode($row['partner_name']) . "

"; print "

" . html_entity_decode($row['partner_strapline']) . "

"; print "
"; print html_entity_decode($row['partner_description']); //print "

Address:

" . nl2br(html_entity_decode($row['partner_address'])); //print "
" . $row['partner_postcode'] . ""; print "

Contact:

" . nl2br(html_entity_decode($row['partner_directions'])); print "
"; print "
"; } } ?>