Codeigniter Ajax Registration Form With Validation
JQuery’s mythical being strategies extremely created straightforward to post information a knowledge a piece of information and come back that data while not refreshing the page. We can apply this jQuery mythical being post in CodeIgniter still. Before continuing any we tend to take into account that you just square measure a touch at home with the CodeIgniter PHP framework. With the assistance of the Associate in Nursing example, you'll find out how to post information to controller victimization the CodeIgniter jQuery mythical being methodology.
Friend's if you don't know how to install Codeigniter in localhost or sever read my last post click this link -https://www.softwarequery.com/2018/02/how-to-install-codeigniter-on-localhost.html
Step-1. We create an HTML code in index.php
-----------------------------------------------JQuery Code-------------------------------------------
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.13.0/dojo/dojo.js"></script>
-----------------------------------------<Script>...................................................................................
Step- 2. Search html code ctrl+F this tag </head> and put the script.
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.13.0/dojo/dojo.js"></script>
-----------------------------------------<Script>...................................................................................
Step-3. Go got HTML code and press button ctrl+f search </body> tag put this script.
----------------------------------------------Create Model---------------------------------------------
Step-4. Go to Model Folder and open create new model file save any name the put this code. After putting the code goes to the browser and type localhost/PHPMyAdmin create a new database name then make two field email, names.
.............................................................Create Controller...................................................................

Comments