How to change the following line of code to php 4.4.6
Posted: Wed Nov 14, 2007 5:31 pm
Hi guys i have changed servers and my new server supports php 4.4.6. this bit of my code is not working properly and was told it was coz of the different versions anyone know what i need to change to make it work?
Code: Select all
$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>";