Thanks much again nate !! You're helping me a lot :-)
Its now clear about $this->Post-Comment. Thanks.
with DB everything seems allright. I tried nearly any possible SQL
mods, and this a little bit mysterious syntax works for me :
$this->Post->find("Post.id = ' {$id} ' "); :-) I do not know why its
working, but its working, and through that I can gain access to asoc
models. Any hints ? Why it works ?
As for checkboxes I am really not able to figure it out ( API reference
not explain it to me ). here is what I am trying to make:
in view (inside form)
$html->checkbox('variable','title',null,true);
in controller/action
I want to be able to read "variable" to know if user check the box or
not. but this scenario does not work...cause checkbox expects in place
of variable object Model/field ... How am I able to know if user check
the box after submitting form in controller/action ?? Please help me
!!!!
Thanks a lot for help !
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---