nivekz Posted September 13, 2011 Share Posted September 13, 2011 Hi the above title explains it all.How to output a post array which has been given input using forms.I know you can do it my echo but what about print() Thanks Quote Link to comment https://forums.phpfreaks.com/topic/247063-how-to-output-_postuser-array-using-print/ Share on other sites More sharing options...
Pikachu2000 Posted September 13, 2011 Share Posted September 13, 2011 You just want to send the whole thing to the screen? echo '<pre>'; print_r($_POST); echo '</pre>'; Quote Link to comment https://forums.phpfreaks.com/topic/247063-how-to-output-_postuser-array-using-print/#findComment-1268794 Share on other sites More sharing options...
AyKay47 Posted September 13, 2011 Share Posted September 13, 2011 Hi the above title explains it all.How to output a post array which has been given input using forms.I know you can do it my echo but what about print() Thanks to the actual question.. using print instead of echo in the example that pikachu provided will yield the same results Quote Link to comment https://forums.phpfreaks.com/topic/247063-how-to-output-_postuser-array-using-print/#findComment-1268796 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.