![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/12/2007, 12:50
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 18
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Re: problema con seleccionar id ahora me da este error
codigo:
<?php
$id = $_GET['id'];
$conexion = mysql_connect('localhost', 'root', 'tenerife');
mysql_select_db('w03hostalia_casascastilla');
$rst = mysql_query("SELECT * FROM propiedades WHERE id = $id");
While($row = mysql_fetch_array($rst)) {
echo $row ['foto1'];
echo $row ['ciudad'];
?>
error:Parse error: syntax error, unexpected $end in |