arianhojat Posted October 20, 2006 Share Posted October 20, 2006 i output an array to html with print_r($array) func. Anyway to get it nicely formatted?thanksif not anyone got a recursive function i can try? Quote Link to comment Share on other sites More sharing options...
Barand Posted October 20, 2006 Share Posted October 20, 2006 This is an improvement over just print_r()[code]echo '<pre>', print_r($array, true), '</pre>';[/code] Quote Link to comment 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.