Use array.

http://www.zend.com/manual/functions.returning-values.php

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


David Halliday wrote:
> 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


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