Hello Friends,
Your file should be like that :
index.ctp
==
Form->create('User', array('action' => 'index'));?>
Enter Your Name
Form->input('name'); ?>
Form->end('Go');?>
UsersController.php
==
data)) {
$this->autoRender = false;
$t
On Thu, Aug 16, 2012 at 9:57 AM, anespa wrote:
> Hi Friends,
>
> I am newbie in php , when I execute code i got error as "Error: Call to a
> member function create() on a non-object
> File: C:\wamp\www\cakephp06\app\View\Users\index.ctp
> Line: 1"
>
> my view is :
>
> index.ctp
> ==
> cre
Hi Friends,
I am newbie in php , when I execute code i got error as "*Error: * Call to
a member function create() on a non-object
*File: * C:\wamp\www\cakephp06\app\View\Users\index.ctp
*Line: * 1"
my view is :
index.ctp
==
create(null, array('action' => 'index'));?>
Enter Your Name