Hi

Is there a way to return two values in one go from a
function?

What it is .. I have this function in a class that
returns rows as an array ... no problem at all in that
.. but if I want to add the following line to the
function:

$total_rows = mysql_num_rows($this->result);

and return both $total_rows +$rows how could I do
that?

Any help would be appreciated

Thanks
David


                
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com


The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to