Is your index() function the form?

If so, to re-show the form just call render(), or let the execution
fall out the bottom, where render() will be automatically called.
Don't redirect the user - this will cause a whole new page request and
so the existing data is lost.

If your index() is not your form (just the form processor), then you
will need to explicitly call render with the correct view to show.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to