When the thumnails are click only the first photo in the array shows. I have been unable to figure out where the problem is:
[url]http://plsnm.com/info.php?id=467&
here is the code snippet
if(!empty($a1[image]))
{
//$MyImages = explode(“|”, $a1[image]);
$ShowInfo .= “<table valign=top align=center height=50><tr>”;
while(list(,$v) = each($im_array))
{
$ShowInfo .= “<td align=center valign=top width=”50″ height=50><a href=”info.php?id=$_GET[id]& f=$v”><img src=”re_images/$v” width=50 height=50 border=0></a></td>”;
}
$ShowInfo .= “</table><hr size=1 width=”95%” color=#336699><br>”;
if(!empty($f))
{
$ShowInfo .= “<center><img src=”re_images/$f” height=480 width=640></center><br>”;
}
else
{
$ShowInfo .= “<center><img src=”re_images/$im_array[0]” height=480 width=640></center><br>”;
}
}
else
{
$ShowInfo .= “<br><center><img src=”no_image.gif”></center>”;
}
any help is greatly appreciated
DD