Grave error de sintaxis, por que utilizar dos tablas??? y no cerrarlas???
Código HTML:
Ver original<table width="65%" border="2" cellspacing="0" cellpadding="0"> <table width="65%" border="1" cellspacing="0" cellpadding="0">
por que declarar dos veces un array???
y para que hablar de esto :
Código PHP:
Ver originalecho $registro['nombre'];
echo $registro['apellidos'];
echo $registro ['telefono'];
Prueba con esto y para la proxima no coloques todo en una sola linea
Código PHP:
Ver original<table width="65%" border="2" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#FFFFCC">Nombre</td>
<td width="20%" bgcolor="#FFFFCC">apellidos</td>
<td width="5%" bgcolor="#FFFFCC">telefono</td>
</tr>
<tr>
<?php include_once("conexion.php");
$cadena =("SELECT * FROM reserva");
{
$nombre=$registro['nombre'];
$apellidos=$registro['apellidos'];
$telefono=$registro ['telefono'];
echo ' <td align="center" width="70%">'.$nombre.'</td>
<td align="center" width="30%">'.$apellidos.'</td>
<td align="center" width="30%">'.$telefono.'</td></tr>';
}
echo '</table>';
?>