
15/12/2006, 15:07
|
 | | | Fecha de Ingreso: junio-2006
Mensajes: 66
Antigüedad: 18 años, 9 meses Puntos: 0 | |
Re: Como busco en la BD? uNA VEZ TENIENDO LA CONECCION USA ESTO:
mysql_select_db($database_conn, $conn); // TU CONEXION
$query_rBotones = sprintf("SELECT * FROM usuarios WHERE id = %s", $colname_rBotones); // TU CONSULTA
$rBotones = mysql_query($query_rBotones, $conn) or die(mysql_error()); // EJECTUTAS TU CONSULTA
$totalRows_rBotones = mysql_num_rows($rBotones); // TOTAL DE REGISTROS QUE ENCONTRO |