print_r($_POST); print_r($_GET); Alternately, I like to use the Smarty template engine, which has a "debug" option that leaves the main page unchanged and uses a bit of JavaScript to show all variables in a pop-up window.
Another option would be an IDE that allows live debugging as you step through the code. For that I usually go with ActiveState Komodo. Hope this helps, GH --- In [email protected], "Marian Briones" <[EMAIL PROTECTED]> wrote: > > I am testing a form with lots and lots of fields and gearing all of my > scripts to predeclaring variables so I can have globals turned off > (per my ISP's request) and is there an easy way I can just have the > hashes print to the screen so I can print it out and avoid potential > typos when I am predeclaring the variables? I just spent 4 hours on > this [EMAIL PROTECTED] form! > > Marian > Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
