Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/12/2004, 11:24
wjlopez
 
Fecha de Ingreso: marzo-2004
Mensajes: 109
Antigüedad: 20 años
Puntos: 0
No resulto

Agradesco la respuesta pero lamentablemente no me resulto.. y el error que me da.. me indica lo siguiente:

Parse error: parse error, unexpected '{' in c:\appserv\www\demo\prueba2.php on line 20

talves para hacer mas facil esto... comento que esta es el codigo completo.. talves ilustre mas y me puedan ayudar mas facilmente:

<html>
<body>
<div align="center">
<p><img src="logosersa270.gif" width="137" height="134"></p>
<p><strong>SERVICIO SALVADORE&Ntilde;O DE PROTECCION</strong></p>
<p><strong>SITIO DE CONSULTA DE EXTENCIONES TELEFONICAS INTERNAS</strong></p>
<table width="739" border="1" cellpadding="1">
<tr>
<th width="26" bgcolor="#000033" scope="col">&nbsp;</th>
<th width="671" bgcolor="#CCCCCC" scope="col"><p align="center"><strong>RESULTADO DE LA BÚSQUEDA </strong></p>
<p align="center">
<?php
$link = mysql_connect("web", "root", "90210210");
mysql_select_db("sersaprosa", $link);
$result = mysql_query("SELECT * FROM guia_tel_inter WHERE DEPARTAMENTO", $link) or die (msyql_error());
if ($row = mysql_num_rows($result)){
echo "<table border = '1'> \n";
//Mostramos los nombres de las tablas
echo "<tr> \n";
while ($field = mysql_fetch_array($result){
echo "<td><strong>$field->name</strong></td> \n";
}
echo "</tr> \n";
do {
echo "<tr> \n";
echo "<select>".$row["EXTENSION"]."</td> \n";

} while ($row = mysql_fetch_array($result));
echo "</table> \n";
?>
</p></th>
<th width="20" bgcolor="#000033" scope="col">&nbsp;</th>
</tr>
</table>
<p align="left"><em><strong>Que desea hacer </strong></em></p>
<p align="left"><a href="cons_ext_ubicacion.php">Realizar Nueve busqueda</a> </p>
</div>
<p><a href="../index.php">Ir al inicio </a></p>
</body>
</html>

se que por ser nuevo en esto.. el codigo paresca como muy bobo.. pero como repito soy nuevo y nesecito urgentemente ayuda.

gracias