Dumbo: Parse error: syntax error, unexpected T_IS_EQUAL

Beitrag lesen

Hallo beschriebener Fehler bei folgendem Code. Es soll in Zeile 9 Sein aber so ist bei dem if der Fehler??
Fehlermeldung:Parse error: syntax error, unexpected T_IS_EQUAL in /var/www/html/spende.php on line 9

<?  
  
// Generate a random number between 1 and 2  
// and store it within  
$randNum = rand(1,2);  
  
// If is equal to 1, store the AdSense  
// code for ad "A" in  
if ( == 1){  
$adCode = '  
  
<a title="Jetzt Spenden" href="/Spenden-verein/">  
  
';  
}  
  
// Else store the AdSense code for ad "B" in  
else {  
$adCode = '  
  
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_95f5f671-2222-4ef8-96b1-cd37d453bcfa"  WIDTH="250px" HEIGHT="250px"> <PARAM NAME="movie" VALUE="http://ws.amazon.de/widgets/q?ServiceVersion=20070822&MarketPlace=DE&ID=V20070822%2FDE%2Ftatfan-21%2F8003%2F95f5f671-2222-4ef8-96b1-cd37d453bcfa&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.de/widgets/q?ServiceVersion=20070822&MarketPlace=DE&ID=V20070822%2FDE%2Ftatfan-21%2F8003%2F95f5f671-2222-4ef8-96b1-cd37d453bcfa&Operation=GetDisplayTemplate" id="Player_95f5f671-2222-4ef8-96b1-cd37d453bcfa" quality="high" bgcolor="#ffffff" name="Player_95f5f671-2222-4ef8-96b1-cd37d453bcfa" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="250px" width="250px"></embed></OBJECT>  
  
';  
}  
  
 // Now print  
out the page  
print <<<HERE  
  
<!-- Begin HTML Code -->  
  
<html>  
<head>  
<title>A/B Testing</title>  
</head>  
  
<body>  
<h1>A/B Testing Example</h1>  
  
<div style = "float: left">  
$adCode  
</div>  
  
<p>Page Content Here</p>  
  
</body>  
</html>  
  
<!-- End HTML Code -->  
  
HERE;  
  
?>