Latest Articles

Find Array Length in PHP

There are two main inbuilt functions count() and sizeof() to find an array length in PHP. There are other ways to count array length in PHP, but inbuilt functions are a more straight forward and effortless approach to implement. Count Array Length in PHP count() and sizeof() both functions are inbuilt in PHP in all […]

How to Set Onclick Function in PHP

Onclick event is one of the most used events in any user interface. As all events on the website are related to UI, and PHP is a back-end language. So, we can not set direct Onclick event of any PHP function. Wrong Interpretation of Onclick Event in PHP <?php function my_funciton(){ //do something } ?> […]

How to jQuery Validation On Button Click

jQuery form validation is one of the easiest ways to validate form fields on any web page. We can validate text fields, text-area fields, email fields, password fields, etc. just by simple jQuery validate() function. To apply validation on a simple web form, we just have to initialize validate() function on page load. But it […]