bilis_money Posted August 10, 2007 Share Posted August 10, 2007 Hi i have this array codes below, <?php print_r(apache_get_modules()); ?> what i want is to format the output so that it will look like this below, Array ( [0] => core [1] => http_core [2] => mod_so [3] => sapi_apache2 [4] => mod_mime [5] => mod_rewrite ) and not this one below, Array([0] => core[1] => http_core[2] => mod_so[3] => sapi_apache2 [4] => mod_mime[5] => mod_rewrite) how? thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/64285-how-do-you-crlf-an-array/ Share on other sites More sharing options...
MadTechie Posted August 10, 2007 Share Posted August 10, 2007 do you mean this ? echo "<pre>"; print_r(apache_get_modules()); echo "</pre>"; Quote Link to comment https://forums.phpfreaks.com/topic/64285-how-do-you-crlf-an-array/#findComment-320485 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.