

Código PHP :
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <?php $url="./gentes"; echo "<table border='1' width='600' height='25'>"; $images=glob("$url/{*}",GLOB_BRACE); foreach($images as $v){ $resta=substr_replace($v,'',0,strlen($url)+3); include "$v"; echo "<tr><td height='25' width='25'><img src='$estado' /></td><td height='25' width='175'>$nick</td><td height='25' width='75'>$edad<img src='$sexo' /><img src='$inclinacion' /></td><td height='25' width='75'><a href='gentes/$v?$t=$p' target='I3'><img src='img/Perfil.jpg' /></a><a href='gentes/$v?$t=$sm target='I3'><img src='img/Sobremi.jpg' /></a><a href='gentes/$v?$t=$i target='I3'><img src='img/Intereses.jpg' /></a></td><td height='25' width='250'>" if($web1==""){ $W1=""; }else{ $W1="<a href='$web1' target='_blanck'><img src='img/web.jpg' /></a>"; if($web2==""){ $W2=""; }else{ $W2="<a href='$web2' target='_blanck'><img src='img/web.jpg' /></a>"; if($web3==""){ $W3=""; }else{ $W3="<a href='$web3' target='_blanck'><img src='img/web.jpg' /></a>"; if($web4==""){ $W4=""; }else{ $W4="<a href='$web4' target='_blanck'><img src='img/web.jpg' /></a>"; if($web5==""){ $W5=""; }else{ $W5="<a href='$web5' target='_blanck'><img src='img/web.jpg' /></a>"; if($web6==""){ $W6=""; }else{ $W6="<a href='$web6' target='_blanck'><img src='img/web.jpg' /></a>"; if($web7==""){ $W7=""; }else{ $W7="<a href='$web7' target='_blanck'><img src='img/web.jpg' /></a>"; if($web8==""){ $W8=""; }else{ $W8="<a href='$web8' target='_blanck'><img src='img/web.jpg' /></a>"; echo "</td>$W1$W2$W3$W4$W5$W6$W7$W8</tr>"; }; echo "</table> ?> </body>
El caso es que me marca error en la línea 11, y no sé a que puede ser debido. El resultado es que tendría que quedar una lista en forma de tabla con los resultados obtenidos de la lectura de la carpeta. ¿Qué hice mal? Mi ma!! Con mis scripts me acabaréis sacrificando

