How to Upload Image in database using jQuery AJAX in PHP Mysql

I use jQuery AJAX to implement image uploads. There is a form with file input fields and a upload buttons. When a form with the selected image file is sent, the AJAX script is run. In this code, a PHP upload request is sent with the uploaded image. The PHP code moves the uploaded image to the uploads folder and insert the image name in database and returns the HTML image to display the preview in AJAX response.

Continue ReadingHow to Upload Image in database using jQuery AJAX in PHP Mysql
Sign Up and Login using jQuery AJAX in PHP Mysql

In this article we will learn How to create Sign up and login functionality using jQuery AJAX in PHP MySQL. There are a large number of online applications and the registration system must be the most common function among all. The registration form is intended to allow users to purchase a membership to obtain special permissions that vary depending on the application. The importance of the registration system for application registration is to make the visitor a registered member of the application and to allow visitors to enter the system to verify its authenticity. Based on the authenticity of the registered user, application users are given access to web pages, utilities, and permissions.

Continue ReadingSign Up and Login using jQuery AJAX in PHP Mysql
How to Create show hide password using jQuery or Javascript

In this post you will learn how to create show hide password functionality using jQuery and you will also lean how to create show hide password functionality in javascript. In the most of the website’s login and register page reducing type of error while entering password in textbox we can show password after entering password. If we show password then we can reduce type of error. For showing password, I have used jquery. With the help of jquery we can show entering password and hide entering password on eye icon click event. I have used jquery attr() method for show and hide password. This functionality is very useful for any website login or registration page.

Continue ReadingHow to Create show hide password using jQuery or Javascript
Insert multiple checkbox value using jQuery AJAX in PHP MySql

In this post I show you how to insert multiple checkbox value in database using jQuery AJAX in PHP MySLQ without page refresh. when an user uses a checkbox, the checkbox value is inserted into the MySQL database without refreshing the web page with Ajax, jQuery in PHP. I will insert the value of boxes in the database and examples with values ​​such as the name of the course and how many courses you like, if the user chooses more than one in the box, then all the checkbox values ​​will be stored in an array with jQuery and I will use this array to convert to a string and insert the values ​​of all the checkbox into the table using the jQuery & Ajax method using PHP.

Continue ReadingInsert multiple checkbox value using jQuery AJAX in PHP MySql
How to load records using Select option with jQuery AJAX in PHP MySQL

In this post you will create How to load records using Select option with jQuery AJAX in PHP Mysql. For this I have use example of city name. When user select particular city name then at that time city relates to that user name and other details will be load with out page refresh. I have use a table, In table have user city name and users full details. I have use simple ajax function call when user select city name from select box then it send request to php page and on the basis of selected city name it select user data from users table as per selected city name.

Continue ReadingHow to load records using Select option with jQuery AJAX in PHP MySQL
How to Upload & Display Image Using jQuery AJAX PHP and MySQL

In this article we will learn how to upload & display image using jQuery AJAX in PHP MySQL. uploading images using the AJAX function is easy and simple to implement on your web page.  I use jQuery AJAX to implement image uploads. There is a form with fields for file input and buttons to upload. When a form with the selected image file is sent, the AJAX script is run. In this code, a PHP upload request is sent with the uploaded image. The PHP code moves the uploaded image to the uploads folder and returns the HTML image to display the preview in AJAX response.

Continue ReadingHow to Upload & Display Image Using jQuery AJAX PHP and MySQL
Insert Form Data using Jquery Ajax serialize() function in PHP Mysqli

In this post, you will learn how to create insert form data into a MySQL table using the JQuery Ajax serialize () method with PHP code without refreshing the page. This generates text strings from whole form data in the standard encoded URL notation form. This can be an action for a jQuery object that has selected various form controls, like input tag, textarea tag and select option tags. After using the serialize () method, the data for the entire form is converted to an associative array, and users can use the form data in a PHP script using the post method. After using this method, we don't have to specify data individually from the form. We cannot use this method with input file types. This method works in most browsers. Here I only explain if you want to learn in detail, please follow in below.

Continue ReadingInsert Form Data using Jquery Ajax serialize() function in PHP Mysqli