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