Ver Mensaje Individual
  #13 (permalink)  
Antiguo 03/02/2005, 17:53
Avatar de ostrasjo
ostrasjo
 
Fecha de Ingreso: diciembre-2004
Mensajes: 165
Antigüedad: 21 años, 10 meses
Puntos: 0
Diooos a final algo he sacado
Código PHP:
//////////////////////////////////// oficio
$select = mysql_query("SELECT * FROM oficios WHERE id='$mid'");
$row = mysql_fetch_array($select);
    
$guerrero = $row["guerrero"];
    
$ladron = $row["ladron"];
    
$mago = $row["mago"];
    
$mercader = $row["mercader"];
if((
$guerrero > $ladron) & ($guerrero > $mago) & ($guerrero > $mercader)){
$oficio = "Guerrero";
}