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>";} |