phpclasses and jquery
DESCRIPTION
This tutorial gives an introduction of using php classes and Jquery.TRANSCRIPT
USING JQUERY AND PHP CLASSES This tutorial gives a simple example of using Php Classes With Jquery for Ajax Implementation
Enjoy!!
Email: [email protected]
For quite sometime as a Jquery beginner ,I struggled to implement Ajax functionalities within my applications
especially using Php classes. After googling and analysis, I came up with this:it all lies within simple Switching….
We will develop a simple registration/login system using php class user
1. Create a database connection class..lets call it DbConnection.php
2. Create a user class …User.php
3. Create a php file that calls the various functions within your class ..call it userclass.php
4. Create your html pages..(registerform.php,loginform.php and the welcomepage.php)
Registerform.php
Pointing to the useclass.php containing switches
Pointing to the register case within the switch
Loginform.php
Welcomepage.php
For the source code..visit my shared box repository https://app.box.com/s/sgpg1cg4gkfp7v7ft6zo
Hope this helps!!