Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/05/2004, 14:30
jaandrade
 
Fecha de Ingreso: mayo-2004
Ubicación: Culiacán, Sinaloa, Mexico
Mensajes: 46
Antigüedad: 20 años
Puntos: 0
no puedo ver el listado que solicito

este es el codigo, se supone que hago una consulta para ver el listado de los datos que agrege:

<?php

$link = mysql_connect("localhost","root","");
mysql_select_db("telefonos",$link)OR die (mysql_error());
$sql = "SELECT * FROM datos";
$result = mysql_query($sql,$link)OR die (mysql_error());
?>
<html>
<head>
<h1><title>LISTA DE TELEFONOS DE LA COORDINACION 04</TITLE></h1>
</head>
<body bgcolor="#008080">
<center><h1><b>LISTA DE TELEFONOS DE LA COORDINACION 04</b></h1></center>

<table border =1>
<tr>
<th>Apellido_Paterno<th>Apellido_Materno<th>Nombre s<th>Tel_particular<th>Tel_oficina<th>Tel_celular< th><th>calle<th>Numero<th>Colonia<th>Ciudad<th>Est ado</th>
<tr>
<?php
//bucle de listado
$linea=0;
//numero de filas

while($fila=@mysql_fetch_array($result,$linea) ) {
echo "<tr>";
$Apellido_Paterno=$fila[1];
$Apellido_Materno=$fila[1];
$Nombres[1];
$Tel_particular[1];
$Tel_oficina[1];
$Tel_celular[1];
$Calle[1];
$Numero[1];
$Colonia[1];
$Ciudad[1];
print "<td align=right>$Apellido_Paterno</td><td align=right>$Apellido_Materno</td><td align=right>$Nombres</td><td align=right>$Tel_particular</td>
<td align=right>$Tel_oficina</td><td align=right>$Tel_celular</td><td align=right>$Calle</td><td align=right>$Numero</td></td><td align=right>$Colonia</td></td><td align=right>$Ciudad</td></td><td align=right>$Estado</td>";
echo "</tr>";
$linea++;
}
?>


</table>
</body>

<a href=telefonos.html>REGRESAR AL MENU</a>
</html>
ayuda..
__________________
mi correo [email protected]