Insert Checkbox values using Ajax Jquery in PHP

Insert Checkbox values using Ajax Jquery in PHP

If you are looking for tutorial on how can we insert checkbox values to mysql table by using Ajax with JQuery in PHP without page refresh. Suppose you have working on any web application and in that application when user check the checkbox then at that time the value of that checkbox must be insert […]

How can I find matching values in two arrays in PHP?

How do you check two arrays have the same elements?

This tutorial explains how can i find matching values in two arrays in php. I have kept this article very simple so that anyone can implement on their web page. The array_intersect() function compares the values of two (or more) arrays, and returns the matches. This function compares the values of two or more arrays, […]

How to Only Allow Numbers in a Text Box using jQuery

jQuery-Allow-Numbers-and-Decimal-only-in-Textbox

This tutorial explains how to only allow numbers and decimal values in the textbox using jQuery. I have kept this article very simple so that anyone can implement basic validation of entering the numeric values in the textbox on their web page. Best practise is to do validation on both the side .i.e on server-side (Php, […]

How to Validate Password Strength in PHP

PHP Password Validation Check for Strength

The below quick example validates the password field values posted via a form. First, it checks if both the password fields are not empty. Then, it applies a regex-based condition to validate the passwords. When the user provides their account password, it is always recommended to validate the input. Password strength validation is very useful […]