![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/02/2007, 08:41
|
|
Re: Consultas en MySQL MySQL
tienes las funciones mysql_fetch_array(), mysql_fecth_assoc() y mysql_fetch_object() Código PHP: $result = mysql_query($sql); $array_datos = array(); while ($datos = mysql_fetch_assoc($result)) { $array_datos[] = $datos; } echo '<pre>'; print_r($array_datos); echo '</pre>';
Un saludo,
Última edición por okram; 25/02/2007 a las 08:43
Razón: Error en el codigo
|