Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/08/2008, 21:55
RicardoU
(Desactivado)
 
Fecha de Ingreso: mayo-2007
Mensajes: 547
Antigüedad: 16 años, 11 meses
Puntos: 1
Pregunta Me marca un error

<?
include 'conexion.php';
$db=mysql_select_db($base,$conexion);
$table_name="articulos";
$conexion=mysql_connect($servidor,$usuario,$passwo rd)or die ("No se puede conectar");
$db=mysql_select_db($base,$conexion);
$sql="SELECT *FROM $table_name where descripcion=$producto ";
$result=mysql_query($sql,$conexion);

while($registro=mysql_fetch_array($result)){
echo "<td>", $registro['precio '],"</td>" ;
}

?>

hola este es el error haber si me puedes hecahr la mano a corregirlo gracias...


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in