lynxus Posted January 18, 2008 Share Posted January 18, 2008 Hi guys, Hope someone can point me in the right direction. I have a fairly large project and it requires a lot of post forms... Anyway, If there a way to print out what has been sent to the php page without declaring the vars before hand? Normally i would do a xxx = [_POST blaa blaaa blaaa ; is there a way to just print whats been sent without already defining each one? Its not a major issue, but could prove handy for my testing stages.. Thanks G Link to comment https://forums.phpfreaks.com/topic/86613-solved-print-all-posted-data/ Share on other sites More sharing options...
pdkv2 Posted January 18, 2008 Share Posted January 18, 2008 use print_r($_POST); Rgds Sharad Link to comment https://forums.phpfreaks.com/topic/86613-solved-print-all-posted-data/#findComment-442598 Share on other sites More sharing options...
lynxus Posted January 18, 2008 Author Share Posted January 18, 2008 Thank you, Works great Link to comment https://forums.phpfreaks.com/topic/86613-solved-print-all-posted-data/#findComment-442604 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.