Hello Filipe, Thursday, June 30, 2005, 1:48:57 PM, you wrote:
FB> Can someone help me with debug? I want to show FB> all variables being used at a file. There is FB> how? Certainly not the simplest, but a couple ideas come to mind... 1) Start using the Smarty template system (http://smarty.php.net) Some people love it, others hate it. One of the things I like about it is a "debug" mode that gives you an automated JavaScript pop-up window listing all your variables. 2) You could do the same manually. Restrict yourself to putting all your variables in an array, then at the end of your script do something like: echo('<hr>'); print_r($my_variable_array); That will dump all your variables, including sub-arrray, objects, etc. 3) Use a high-end Development Environment like Zend Studio or my personal favorite, ActiveState Komodo. Both have integrated debugging, either locally or live on a server. I would feel rather crippled developing a major application without the ability to step through the code line-by-line and see the output, watch variable values, etc. It's a great tool! -- Best regards, Gunther mailto:[EMAIL PROTECTED] Community email addresses: Post message: php-list@yahoogroups.com 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/