Chris Hartjes wrote:
> Um, I think this is a question that goes beyond CakePHP.  This is
> basic "how to create a page that has a form that you can submit".

I have the same question and I think it is a CakePHP question.

I've got a view up that shows me a Client and lists its Sites and I've
got a link that says, "Add Site"  I, obviously, want to add a Site to
the current Client... How to I pass the client_id to the Add Site view?
 (I'm using $this->Set(...)) to pass the client_id to site's Add view
and making it a hidden field on the form which then gets submitted back
to the Add Site controller.

But it's not very clean and I think I'm approaching the problem
wrong...  I've done these types of forms before using POP (Plain ol'
PHP) so I know how to do a form and submit and a MySQL UPDATE and all
that jazz but I thought Cake would be a little cleaner.

Any clues to how I'm misthinking the solution would be appreciated.

Don


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to