Will there ever be more than one element inside of the second array? If not, you can code it like this:
$string = "";
foreach($userList as $u) {
$string .= $u[0].",";
}
$string = substr($string,0,-1);
If so, you'll have to loop again
$string = "";
foreach($userList as $u) {
foreach($u as $a) {
$string .= $a.",";
}
}
$string = substr($string,0,-1);
BTW...where is that TV shop for the AZphp meetups? I'm going to try to make one of them sometime here...