[eluser]fourcs[/eluser]
I keep getting this 404 error. Can't find the reason.
This is a snippet of the form_view file.
Code:
<h3 class='headerstyle'>Registration Form</h3>
<p>Please complete the following form:</p>
<?php echo $this->validation->error_string; ?>
<?php echo form_open('form/index'); ?>
<p><label for="username">Username: </label><br /><?php echo form_input($username); ?></p>
<p><label for="password">Password: </label><br /><?php echo form_input($password); ?></p>
<p><label for="name">Name: </label><br /><?php echo form_input($name); ?></p>
<p><label for="address">Address: </label><br /><?php echo form_input($address); ?></p>
<p><label for="city">City: </label><br /><?php echo form_input($city); ?></p>
<p><label for="state">State: </label><br /><?php echo form_input($state); ?></p>
<p><label for="zipcode">Zipcode: </label><br /><?php echo form_input($zipcode); ?></p>
<p><label for="phone">Phone: </label><br /><?php echo form_input($phone); ?></p>
<p><label for="email">Email: </label><br /><?php echo form_input($email); ?></p>
<p><label for="url">URL: </label><br /><?php echo form_input($url); ?></p>
<p><label for="status">Status: </label><br /><?php echo form_input($status); ?></p>
<p><label for="dateB">Date Start: </label><br /><?php echo form_input($dateB); ?></p>
<p><label for="dateE">Date End: </label><br /><?php echo form_input($dateE); ?></p>
<?php echo form_submit('submit', 'Submit'); ?>
<?php echo form_close(); ?>
I've successfully used similar code and codeigniter config, model, controller, view with a tutorial.
Any ideas will be appreciated.