if i used this code <?php echo $form-
>create("test",array("controller"=>"pilgrimage","action"=>"index","div"=>false,"onSubmit"=>""));
> ?
>
This code is working fine.
but this code is not working.
<?php echo $this->form-
>create("pilgrimage",array("controller"=>"pilgrimage","action"=>"index","div"=>false,"onSubmit"=>""));
> ?
>
and error display
Notice (8): Undefined property: View::$form [APP\views\pilgrimage
\index.ctp, line 6]
Fatal error: Call to a member function create() on a non-object in D:
\wamp\www\epandit\app\views\pilgrimage\index.ctp on line 6
please give me solution
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php