I'm trying to display a list of all events for a particular venue depending on the file name (ex: page.php?id=5),
However the basic information, in this case Venue name and Venue Type get's duplicated with each event.
Here's how it looks:

And here's the code:
$id = (int) $_GET['id'];
$data = mysql_query("
SELECT
venues.*,
venue_types.TYPE_NAME,
events.EVENT_NAME,
events.EVENT_DESC
FROM
venues
INNER JOIN venue_types
ON venues.VENUE_TYPE = venue_types.ID
INNER JOIN events
ON events.VENUE_LOCATION = venues.ID
WHERE
events.VENUE_LOCATION = venues.ID
AND
venues.id = ".$id) or die(mysql_error());
while($info = mysql_fetch_array( $data ))
{
Print "Venue name:" . $info['VENUE_NAME'] . "<BR>";
Print "Venue Type:" . $info['TYPE_NAME'] . "<BR><BR>";
echo "Event name:" . $info['EVENT_NAME'] . "<BR>";
echo "Event description:" . $info['EVENT_DESC'] . "<BR>";
Thanks for reading!
Edit: Info for kirilloid
What I meant that the list will be in the middle of the page, which will be surrounded by other content which might and might not be retrieved from MySQL that I do not want to duplicate. What I meant was that if there was something simpler where the code could look like:
echo "<html> la la la
<Body>
la la la MYSQL_ROW la la la
la la la
stuff I don't want looped";
echo "
------------------------
LOOPED LIST
------------------------
";
echo "
more stuff I don't want looped
la la la MYSQL_ROW_ALSO la la la
</body></html>
venue nameandvenue typeoutside the loop, it doesn't show anything for those two variables.