Hi,
entweder ist es zu spaet oder ich hab ‚n Brett vorm Kopf.. :-(
Das eine wirkt auf das andere :)
$Bild = $Formular{'BildURL'}
Da fehlt ein Semikolon am ende.
if($Bild eq "http://")
»» ($Bild = "http://www.danfun.com/images/nopic.gif");
Die Runden Klammern sind falsch hinter dem if ().
Hinter if (Bedingung) kommen geschweifte Klammern für den Block.
if ($Bild eq "http://" ) {
$Bild ="http://www.danfun.com/images/nopic.gif";
}
if($Bild eq "")
»» ($Bild = "http://www.danfun.com/images/nopic.gif");
Hier auch.
Ciao,
Wolfgang