Re: [PHP] quick php for perl coder question

2008-09-11 Thread Kirk . Johnson
Thomas Bolioli <[EMAIL PROTECTED]> wrote on 09/11/2008 01:10:18 PM: > 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: > > a

Re: [PHP] quick php for perl coder question

2008-09-11 Thread Jochem Maas
Thomas Bolioli schreef: 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); not sure what you meant with the line abov

[PHP] quick php for perl coder question

2008-09-11 Thread Thomas Bolioli
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]; $use