Hola El patron, ya lo he correguido, y me da el siguiente error:
Código:
Fatal error: Call to undefined function: mysql_fecth_array() in c:\easyphp1-8\www\daniel\listado2.php on line 11
el código que me da error es el siguiente:
Código PHP:
<?
//Conexion con la base
mysql_connect("localhost","daniel","daniel");
mysql_select_db("gestion");
//consulta de las 3 tablas que se quieren visualizar.
$sSQL2="select * from descriptor, tabla_puente_descriptor
where descriptor.id_descrip = tabla_puente_descriptor.id_descrip and
tabla_puente_descriptor.id_plantilla = principal.id_plantilla";
$result2=mysql_query($sSQL2);
while ($row= mysql_fecth_array($result2)){
echo $row['descriptor'];
}
?>
gracias