Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/05/2004, 12:05
jaandrade
 
Fecha de Ingreso: mayo-2004
Ubicación: Culiacán, Sinaloa, Mexico
Mensajes: 46
Antigüedad: 19 años, 11 meses
Puntos: 0
php y mysql base de datos

se supone que estoy creando un listado telefonico ya tengo la base de datos y la tabla inclusive le inserte unos datos por myphpadmin

pero tengo problemas con los siguientes codigos me lo pueden checar haber que errores tienen

en el archivo listados.php
<?php
$db = mysql_connect("localhost", "root")OR die ("No puedo conectarme
a la base de datos");
mysql_select_db("listado",$db);
$result=mysql_connect("localhost");
?>
<html>
<head>
<title>Listado telefonico</title>
</head>
<body>
<h2>Listado de N&uacute;meros Telef&oacute;nicos</h2>

<table BORDER=1>

<tr>
<th>Nombre</th><th>Tel_casa</th><th>Tel_trabajo</th><th>Tel_Celular</th><th>Domicilio</th><th>Ciudad</th>
</tr>

<?php
// bucle de listado

$linea=0;

//numero de filas

while ("$fila=@mysql_fetch_array($result,$linea)"){
echo "<tr>";
$Nombre=$fila[0];
$Tel_casa=$fila[0];
$Tel_trabajo=$fila[0];
$Tel_cel=$fila[0];
$Domicilio=$fila[0];
$Ciudad=$fila[0];
print<td align=right>$Nombre</td><td>$Tel_casa</td><td>$Tel_trabajo</td><td>$Tel_Celular</td><td>$Domicilio</td><td>$Ciudad</td>;
$linea++;
}
?>

</table>
</body>
</html>

me da el siguiente error:
Parse error: parse error in c:\phpdev\www\public\listados.php on line 35