therealwesfoster Posted February 13, 2008 Share Posted February 13, 2008 Is it possible to dump all the vars used in the script instead of just arrays? Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted February 13, 2008 Share Posted February 13, 2008 var_dump will dump a var, but why are you triyng to do this print_r($_GLOBALS) should also work Quote Link to comment Share on other sites More sharing options...
rhodesa Posted February 13, 2008 Share Posted February 13, 2008 No underscore... print_r($GLOBALS); Quote Link to comment Share on other sites More sharing options...
therealwesfoster Posted February 13, 2008 Author Share Posted February 13, 2008 I'm messing around with string manipulation. Just a hobby. I'm setting $POST vars to regular variables, going to dump them with a function, and format them into a template. All in 1 function... I'm bored I'll try it out Quote Link to comment Share on other sites More sharing options...
DyslexicDog Posted February 13, 2008 Share Posted February 13, 2008 If all your variables are part of the post array you can print_r($_POST) or var_dump($_POST). 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.