A tak wygląda kod:
<? $i = $_GET['i']; $f = $_GET['f']; require_once("conn.php"); require_once("includes.php"); { } $q1 = "select * from re2_agents, re2_listings where re2_listings.ListingID = '$_GET[id]' and re2_listings.AgentID = re2_agents.AgentID "; { $Image1 = "bg_info2.gif"; $ShowInfo .= "<table border=0 align=center width=500> <tr> <td width=500 height=19 valign=top><font size=3><b>$a1[hotelname], $a1[PropertyType]</font></b></td> </tr> <tr> <td bgcolor=#D2B48C width=500 height=22 valign=top><font size=2 color=white><b>Informacje podstawowe:</font></b></td> </tr> <center> if($a1['PropertyType']=="Nowe oferty") { echo '<tr> <td bgcolor=#efefef width=500 valign=top align=center>adres: <b>$a1[address]</b></td> </tr>'; } ?>
Pokuazuje następujący błąd:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/ekr44347/public_html/test/info.php on line 39
Gdzie jest błąd

Następnym razem proszę używać poprawnego bbcode. /kszychu/