Je moet ingelogd zijn om te stemmen.
<? if($object->avater==EMPTY){ echo "Geen foto"; } elseif($object->avater=="$avater"){ echo "<img src=\"img/avaters/$object->avater\">"; } ?>
<?if($object->avater==EMPTY){echo "Geen foto";}elseif($object->avater=="$avater"){echo "<img src=\"img/avaters/$object->avater\">";}?>
Parse error: parse error, unexpected ')', expecting '('
<? if(empty($object->avater)){ echo "Geen foto"; } elseif ($object->avater == $avater) { echo "<img src=\"img/avaters/".$object->avater."\">"; } ?>
<? if($object->avater == ""){ echo "Geen foto"; } elseif($object->avater == $avater){ echo '<img src="img/avaters/'.$object->avater.'">'; } ?>
<?if($object->avater == ""){echo "Geen foto";}elseif($object->avater == $avater){echo '<img src="img/avaters/'.$object->avater.'">';}?>
<? if($object->avater){ echo '<img src="img/avaters/'.$object->avater.'">'; } elseif ($object->avater == ""){ echo "Geen avater"; } ?>
<?if($object->avater){echo '<img src="img/avaters/'.$object->avater.'">';}elseif ($object->avater == ""){echo "Geen avater";}?>