/ Published in: PHP
                    
                                        
This will outpu a numeric result array
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
function array_flatten($array, $flat = false)
{
foreach ($array as $key => $val) {
else $flat[] = $val;
}
return $flat;
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                