Hi everyone,
I’ve got this problem with space. I’ve been working on it for a few hours and am about ready to just drop my php all together and put everything in by hand.
Here’s the short:
Page 1 shows image, title and 1 paragraph from each artist.
Page 2 shows details on whichever artist they click on.
I have page 1 displaying all artists and showing them in the order of ID number:
[php]
Artists
-
<?php } ?>[/php]<a href="artist-details.php?id=<?php echo $image['id'] ?>"><img src="images/artists/<?php echo $image['img2'] ?>" width="238px" height="382px" /></a> <h3><?php echo $image['title'] ?></h3> <p style="min-height:250px;"><?php echo $image['p1'] ?> </p> <a href="artist-details.php?id=<?php echo $image['id'] ?>">Read More</a> </li>
Here you can see it live: http://curtaincallentertainment.ca/new/artists.php
As you can see when it goes to the second row it leaves 2 blank spaces as if there were artists there. I have tried adding a few more to see if it happens again on the next row and it actually changed everything so there was no blank space but when I deleted the ones I don’t need it happened again.
What am I missing?
Thanks in advance for any help.
<?php
$query = mysql_query(“SELECT * FROM info ORDER BY id” )
or die(mysql_error());
while ($image = mysql_fetch_array($query)){
?>