Ver Mensaje Individual
  #6 (permalink)  
Antiguo 11/11/2006, 00:31
Avatar de B**
B**
 
Fecha de Ingreso: enero-2006
Ubicación: Monterrey,Mexico
Mensajes: 952
Antigüedad: 18 años, 3 meses
Puntos: 3
Código PHP:
<?php
$sql 
'SELECT * FROM `participantes` LIMIT 0, 30';

        
$link=mysql_connect("localhost","vi000621_sorteos","pass");
mysql_select_db("vi000621_sorteos");

        
$info=mysql_query("$sql",$link);

        
$my_error mysql_error($link);
        while(
$row=mysql_fetch_array($sql)){
                print 
$row[nombredelcampoAimprimir];
                 ...
}       

 
mysql_close($link);
    
?>
__________________
-URL= Go PHP5.
-Age=22.
-Learning=PHP,J2EE,Struts,MAMBO,C++,JSON,AJAX,XHTML ,CSS.