This is the code i use to obtain images of a car on my site, however I moved servers to a php4 server and now when i click on the photos link the site just refreshes. Please help. How do i make it work?
{
$MyImages = explode("|", $a1[image]);
$ShowInfo .= "<table valign=top align=center width=\"100%\" height=50>\n<tr>\n\t<td align=center valign=top width=\"100%\" height=50>";
while(list(,$v) = each($MyImages))
{
$ShowInfo .= "<a href=\'info.php?id=$_GET[id]&i=$_GET[i]&f=$v\'><img src=\'cars_images/$v\' width=50 height=50 border=0></a> \n\n\t";
}
$ShowInfo .= "</table><hr size=1 width=\"95%\" color=#336699><br>";
if(!empty($f))
{
$ShowInfo .= "<center><img src=\'cars_images/$f\'></center><br>";
}
else
{
$ShowInfo .= "<center><img src=\'cars_images/$MyImages[0]\'></center><br>";
}
}
else
{
$ShowInfo .= "<br><center><img src=\'no_image.gif\'></center>";
}
}