You can cheat and write that line in your controller; you should see
something on your screen. Since it's just for debugging purposes, and not
part of the application, you don't need to jump through the MVC hoops unless
you plan on keep that debug line of code in there (in that case, I'd switch
to using a logger).

BTW the array is a pretty simple associative array with basic key/value
pairs. Only when there are subforms / multiCheckboxes do things get a little
trickier.

--
Hector


On Tue, Jul 6, 2010 at 11:02 PM, allergic <
[email protected]> wrote:

>
> So after adding "exit;" how can I make the $formData array show its values
> to
> me in my web browser?
> I'd like to see how the array is formatted so to speak.
>
> In other words how do I echo this line from my Controller's editAction()?
> Do I have to send this line from C to V and then do some kind of echo in V?
> (MVC)
>
> //        Zend_Debug::dump($formData); exit;
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/How-can-I-print-r-or-Zend-Debug-formData-in-my-editAction-tp2279751p2280505.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to