I've got some values in my columns that I use as img src:
<div id="comp"><center><img src="<?php echo $path.$rows['comp'];?>.gif" align="center"></center></div>
I want to put a lot of data into the table, in a different column, but
while($rows = mysqli_fetch_array($result, MYSQLI_BOTH)){
it causes the images to appear broken rather then not showing the image at all, breaking the website in google chrome and I'm sure other browsers.
I use
if(!$rows['gamename']){continue;}else{}
in an attempt to only loop rows that contain a gamename, but it works only for firefox.
Is there a work around for this? Otherwise, there are 9000+ rows displaying when they should not be in my particular situation.