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. 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>"; 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
Archived
This topic is now archived and is closed to further replies.