bueno el php MySQL tabla es muy error
Código:
Parse error: syntax error, unexpected ';', expecting T_WHILE in C:\AppServ\www\aquienquino\foto\foto.php on line 35
Código PHP:
<?
$server="localhost";
$username="root";
$password="980980";
$database="candemasjor";
$offset = 10; //Numero de noticias
$posicion = (int) ($_GET["pos"]*$offset); //Numero de noticia desde la cual va a empezar a mostrarlas
$siguiente = $_GET["pos"]+1; //variable siguiente
$anterior = $_GET["pos"] == 0 ? 0 : $_GET["pos"]-1; //variable anterior
$limit = " LIMIT ".$posicion.", ".$offset;
$connection=mysql_connect ($server, $username, $password);
mysql_select_db($database, $connection);
$sentencia=mysql_db_query("candemasjor", "SELECT * FROM noticia ORDER BY id DESC".$limit);
while($rs=mysql_fetch_array($sentencia)){
?>
<style type="text/css">
<!--
.Estilo1 {font-family: Verdana, Arial, Helvetica, sans-serif}
.Estilo3 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; font-weight: bold; }
-->
</style>
<div align="center">
<table border="0">
<tr bordercolor="#999999" bgcolor="#666666">
<td width="130"><div align="center" class="Estilo3">fechar</div></td>
<td width="368"><div align="center" class="Estilo3">Tema</div></td>
<td width="126"><div align="center" class="Estilo3">Entrar</div></td>
</tr>
<tr><?php do { ?>
<td><div align="center" class="Estilo1"><? echo $rs["Fechar"]; ?></div></td>
<td><div align="center"><? echo $rs["Temas"]; ?></div></td>
<td><div align="center"><? echo $rs["Aqui"]; ?></div></td>
</tr>
</table><?php } ?>
</div>
Mi usuario camilo_1987 y contraseña es muy error el foro