I am making form in CakePHP I want the HTML for that form as below
<form action="/abc/sessionapps/login" name="UserLoginForm" id="UserLoginForm" method="post" accept-charset="utf-8">
Till now I have written following code in CakePHP
echo $this->Form->create('User', array('url' => array('controller' => 'sessionapps', 'action' =>'login'),array('name'=>'UserLoginForm')));
It is generating following output
<form action="/abc/sessionapps/login" 0="0" id="UserLoginForm" method="post" accept-charset="utf-8">
Please Help
Thanks in advance
try: