Tengo el codigo asi pero me da el siguiente error:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in.........
Código:
Gracias! mysql_query("SELECT producto_cantidad FROM negociosinventario WHERE `negocio_id`='$negocioid' ORDER BY RANDOM() LIMIT 1");