quick php for perl coder question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to return an array from a function.
I have this:
return array($found, $username, $email, $nickname);
as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this:

array($vars);
   $vars = function($type, $abc, $xyz);
   $found = $vars[0];
   $username = $vars[1];
   $email = $vars[2];
   $nickname = $vars[3];

on the other end work? If so, then the bug is somewhere else.

Thanks in advance,
Tom

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux