I'm very tired at the moment but I don't think I did anything wrong with the script. But obviously I'm wrong and php parser is right. Here's the code. Its very simple but I cannot what's causing the error.
The error is "Parse error: parse error in artwork.php on line 49"
line 49 is the line after
Code: Select all
while ($test = mysql_fetch_array($viewthumb)Code: Select all
}Code: Select all
<?php
$i=1;
while($i < 4){
$i++;
$viewthumb = mysql_query("select * FROM pictures where pictures.SecID=2 LIMIT 1, 15");
print('<tr>');
while ($test = mysql_fetch_array($viewthumb)
{
print('
<td align="center" width="120"><img src="images/thumb/'.$test["PicFileName"].' alt="" width="100" height="137" border="1"></td>
');
}
print('</tr>');
}?>Thanks