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 Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.