Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/08/2006, 07:26
Avatar de B**
B**
 
Fecha de Ingreso: enero-2006
Ubicación: Monterrey,Mexico
Mensajes: 952
Antigüedad: 18 años, 3 meses
Puntos: 3
Prueba con esto,hice algunos cambios:
Código PHP:
<html>
    <head>
        <title>Tubos de PVC Forrados y Laminados</title>
            </head>
                <body>
                    <h1>Proveedores</h1>
                        <?php
                             $link 
mysql_connect("localhost","car21pos","papanicolau");
                                
mysql_select_db("PVC");
                                
$query"select * from Proveedores";
                                
$result mysql_query($query);
                                
$num_results mysql_num_rows($result);
                                echo 
"<p>Number of Secciones found: $num_results </p>";
                               while(
$row=mysql_fetch_array($result))
                              {
                             
                                 echo 
"<p><strong> Proveedor: ";
                                 echo 
htmlspecialchars(stripslashes($row[NomProv]));
                                 echo 
"</strong> </p>";
                              }
                        
?>
</body>
</html>
__________________
-URL= Go PHP5.
-Age=22.
-Learning=PHP,J2EE,Struts,MAMBO,C++,JSON,AJAX,XHTML ,CSS.