Hi,
I wrote a function where I want to return a variable that is an array. This is what I did:
//$back_data[valid] = "valid";
//$back_data[userid] = $result[user_id];
//return $back_data;
So, I set array "valid" with the string "valid" and set array "userid" with the resulted user id, which is an integer. And then I return the whole variable (containing the arays). When I want to print the first array, it does ok, while the second array ("userid") does not print, meaning that it probably wasn't returned. Is there a trick to this so it returns all the arrays???
Thanks a lot.
Ilir.
P.S.
I put the comments in front of the code just so the phorum-Script won't break out.