Olivier Percebois-Garve wrote:
use the formTag() like <?php echo $html->formTag('/notes/edit/' . $html->tagValue('Note/id')?>http://manual.cakephp.org/chapter/helpers
1. Aren't you missing a right paren? 2. This chapter doesn't define formTag. It has one reference to it, in sample code, without explanation. 3. I don't use "notes" so I can't use the above as is. Can someone help - what should I use for the URL? Thanks
HTH olivvv PHPBABY3 wrote: > > I know PHP and am learning CakePHP. I have installed CakePHP and > obtained some files to add to it to produce a search button (meaning a > form that asks questions to implement a searching capability.) In file > default in directory layouts there is a form and the ACTION parameter > is wrong, but when I ask the programmer what the value should be, he > only tells me variables that I don't know the value of. He says to > make it: > > http://directory.to.cake/controller_name/control_function > > My directory structure is c:\sokkit\site\cake\cake_1.1.12.4205/app/ > etc. Directory controllers contains one file, urls_controller. > > What do I enter between the quotes in: form action=" . . ." in file > default ? > > Thanks > > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
