please tell me how can i send checkbox values from template to
controller.
template: (its related to site model)
<?php echo $html->hidden('Site/id', array('value' => $site['Site']
['id']));?>
(from this line i am geeting site id)
<?php echo $html->hidden('Campaign/id', array('value' =>$campaign[]
[]));?>
(from this line i want to get campaign id, but i am not able to get it
because it is related to campaign model)
<?php echo $html->submit('Deny All') ?>
thank you,
--
Nirmal
On Aug 16, 9:27 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 8/16/07, bbuchs <[EMAIL PROTECTED]> wrote:
>
>
>
> > Jerk.
>
> Well, there are three potential "jerks"
>
> 1) the original poster for expecting people to simply provide them with code
> 2) the responder who told them to go read the manual
> 3) the person who called the responder in #2 a "jerk"
>
> Personally, I would've responded:
>
> "Sounds like you need to use some Ajax functionality toupdateall checkboxes."
>
> However, when the request sounds like "please write some code for me
> because I need it for work / school and don't want to do it myself" I
> understand why people get annoyed.
>
> --
> Chris Hartjes
> Senior Developer
> Cake Development Corporation
>
> My motto for 2007: "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---