<tr> <th> DATOS PERSONALES </th> <th> </th> </tr> </thead> <tbody> <?php $_SESSION["precio"] = 0.0; echo "<tr><th>Fecha</th><td>" . $_SESSION["fecha"] . "</td></tr>"; echo "<tr><th>Hora</th><td>" . $_SESSION['hora'] . "</td></tr>"; echo "<tr><th>Localidad</th><td>"; $localidad = Localidad::getByCP($_SESSION['cp']); echo $localidad->getValueEncoded("nombre"); echo "</td></tr>"; echo "<tr><th>Direccion</th><td>" . $_SESSION['direccion'] . "</td></tr>"; echo "<tr><th>Comensales</th><td>" . $_SESSION['comensales'] . "</td></tr>"; ?> <tr><th>PLATOS</th> <th></th> </tr> <?php $plato = $_SESSION['platos']; $Z = count($plato); for ($i = 0; $i < $Z; $i++) {