I've been using this without issue for ages..... and now it isnt outputing the info... I get a blank table like it's trying to work but not displaying it...
<?php
include('dataentry/update-connect2.php');
$sql="SELECT * FROM photos Order by stageno asc";
$result=mysql_query($sql);
?> <table width="670" border="0" cellspacing="1" cellpadding="0"> <tr> <td> <div id="table-wrapper"> <div id="table-scroll"> <table width="670" border="1" cellspacing="0" cellpadding="3"> <thead> <tr> <th align="center"><font color="#D98A3A">Thumbnail</font></th> <th align="center"><font color="#D98A3A">Characters In Image</font></th> <th align="center"><font color="#D98A3A">Image Artist</font></th> </tr> </thead> <tbody> <?php
while($rows=mysql_fetch_array($result)){
?> <tr> <tr><td width="14%" align="center"> <a href="http://url.net/popups/photos/photoshow.php?picture=<? echo $rows['idnumber']; ?>" rel="facebox" style="text-decoration: none"> <img border="0" src="http://url.net/gallery/pictures/<? echo $rows['image']; ?>_th.png"></a></td> <td><? echo $rows['character']; ?> </td> <td><? echo $rows['artist']; ?> </td> </tr> <?php
}
?> </tbody> </table> </div></div> </td> </tr> </table> <?php
mysql_close();
?>
i am presuming this is due to mysqli being better but I have tried to convert it to mysqli and am failing... can anyone please help me re-write this....