View Single Post
  #4 (permalink)  
Old 04-22-2003, 12:42 PM
smallfry smallfry is offline
Junior Member
 
Join Date: Mar 2003
Posts: 18
this is my first attempt at making an if then statement in php
is this the proper way to make one??
Code:
if ($nimi == 'MAPS-PICS/BF/ACTION/_vti_cnf')
{$content .= "
<center><a href=\"MAPS-PICS/BF/GCS0074.jpg\"target=\"_blank\"><img src=\"MAPS-PICS/BF/GCS0074.jpg\" width=\"130\" height=\"125\" border=\"0\" alt=\"Click to Enlarge\">
</center></a>";}
else
{$content .= "
<center><a href=\"$nimi\"target=\"_blank\"><img src=\"$nimi\" width=\"130\" height=\"125\" border=\"0\" alt=\"Click to Enlarge\">
</center></a>";}
Reply With Quote