Forums
This topic is locked
Php newbie - not just looping a recordset
Posted 02 Nov 2005 01:34:16
1
has voted
02 Nov 2005 01:34:16 Tony Kiernan posted:
I am trying to do a gigs listing page in Dreamweave, I have this:<?php do {
?>
<?php echo $row_gigs['night']; ?>
<br />
<?php echo $row_gigs['town']; ?>
<br />
<?php echo $row_gigs['artist']; ?>
<?php } while ($row_gigs = mysql_fetch_assoc($gigs));
?>
What I want to out put is:
NIGHT (which is the date)
Town: Artis1, artist2, artist3...
I know how I would do thi using asp (sorry it's what I do for a liveing) but am a numptie with this. Can/will anyone help?