Ver Mensaje Individual
  #6 (permalink)  
Antiguo 09/04/2010, 08:39
Avatar de GXT2
GXT2
 
Fecha de Ingreso: junio-2009
Ubicación: Fort Lauderdale, FL
Mensajes: 152
Antigüedad: 14 años, 11 meses
Puntos: 0
Respuesta: Convertir un objeto a string

bueno es verdad creo que lo retornaria
con return si no estoy equivocado.
asi

Código PHP:

 
protected function Las_Saved_Cat_Id() {//kl

        
$sQuery"SELECT *
            FROM saved_category
            Order by s_cat_id DESC"
;
             echo  
"<br>".$sQuery;
            
$rsDatos mysql_query ($sQuery)
            or die (
"Error geting room").mysql_error();
            
$Datos mysql_fetch_array($rsDatos); 
        
            return 
$get_last_id =  $Datos['s_cat_id'];

  
  }
//kl