I have the same thing going here but dont know what to do. I have this code and instead of it seeing if the row[img1] is equal to spacer how could i get it to see if it is just numbers then echo the spacer.gif but if it is not just numbers then do the else stament
<td align=\"center\"><img src=\"");if ($row['img1'] == 'spacer') {echo("$image_url");echo("spacer.gif");}
else {echo("$image_url".$row["img1"] ."");}echo("\" width=\"250\" height=\"190\"></td>