Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/06/2006, 09:46
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Código PHP:
<?php
  $sql
"select Max(id) as mayor from beneficiarios";
  
$rs=mysql_query($sql);
  if(isset(
$rs) && mysql_num_rows($rs)>0)
  {
      
$row=mysql_fetch_array($rs);
      
$num=$row['mayor'];
      
mysql_free_result($rs);
   }
?>