In this post, We have share How to Create Registration Form in CodeIgniter and Bootstrap Framework along with MySQL Database.By using this user can easily register, username, first name, last name, email, password fields. After submitting form, the data will be stored in a database table.

Step 1: Create MySQL Database and Table for User Registration

Step 2: Create a model file User Registration
Create a model file named “Users_model.php” inside “application/models” folder.

Step 3: Create a controller file User Registration
Next create a controller file named “Users.php” inside “application/controllers” folder.

Step 4: Create a view file User Registration

Create a view file named “register.php” inside “application/views/users” folder

So open “application/config/routes.php” file and add code like as bellow:


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">