[eluser]manojchakri[/eluser]
Hi all,
My view is a login form with
Code:
<html>
<head>
<title>My Form</title>
</head>
<body>
<h5>Username</h5>
<input type="text" name="username" value="uname" size="50" />
<h5>Password</h5>
<input type="password" name="password" value="pwd" size="50" />
<input type="submit" value="Submit" /></div>
</form>
</body>
</html>
And my controller is
class Form extends Controller
{
function index()
{
$this->load->view('forms_view');
}
}
Now How can I post the data from the login form fields to the same or another controller for checking with the database.I was not able to understand the explanation in user manual.Any body please provide sample code.Thanks in advance.