mam błąd syntax error ale
błąd:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/w154/domains/pileczka.com.pl/public_html/face.php on line 49
linia 49:
?><center><b><a href="
<?php echo"".$r['adres']."";?>">
<?php echo".$r['opis']."";"?></a></b><br></center>
<?php
cały kod:
<?php
require_once ('szkielet.php');
?>
<HTML>
<HEAD><style type="text/css">
#sms1 {
bottom: 10px;
line-height: 16px;
right: 9999px;
z-index: 30000;
opacity: 0.8;
width: 300px;
height: auto;
background: #f5980c;
color: #fff;
text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;
padding: 10px;
text-decoration: none;
font-size: 11px;
font-family: Tahoma;
border: 1px solid #771b1b;
border-radius: 3px;
transform: skew(-12deg);
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
text-shadow: rgba(0,0,0,0.3) 0px -1px 0px;
}
#stickymsg a{ color: #fff; font-weight:bold; text-decoration: none; }
#stickymsg:hover{ opacity: 1; }
</style></HEAD>
<?php
echo '<div id="sms1"><h1><center>Reklama</center></h1></Div><br>'; ?>
<table><tr><td>
<MARQUEE scrollAmount=1 direction=up style="text-align:justify">
<?php
$sql = mysql_query("SELECT id, adres, opis FROM reklama ORDER BY id DESC LIMIT 0,3"); ?><center><b><a href="
<?php echo"".$r['adres']."";?>">
<?php echo".$r['opis']."";"?></a></b><br></center>
<?php }
?>
</MARQUEE>
</td></tr></table>
</HTML>