I\'m new to PHP, and don\'t have quite the grip on how it works. If I have a two dimensional array as such (returned by a database):
array(3) {
[0]=&
Check out the below from the PHP implode() manual:
$val ) {
if ( is_array( $val ) )
$val = implode( ',', $val );
$string[] = "{$key}{$glue}{$val}";
}
return implode( $separator, $string );
}
?>
If you only want to return the value (and not the key), just modify the above to use $string[] = "{$val}";.