Why isn't this working?


$img[] = "$episodeID_a.jpg";
$img[] = "$episodeID_b.jpg";
$img[] = "$episodeID_c.jpg";

for ($x=0; $x<count($img); $x++) {

        if(!file_exists($img[$x])) {

print("<td align=center><img src=\"blank.gif\" width=160 height=120 

} else {

print("<td align=center><img src=\"$img[$x]\" width=160 height=120 

}//end if

}//end for loop
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to