Implement class inheritance in javascript

In JavaScript, class inheritance is implemented using the extends keyword. The child…

Continue reading →

Javascript array join method

The join() method is used to join all elements of an array into a string. It takes an optional argument,…

Continue reading →

Javascript array concat method

JavaScript Array.concat() method is used to merge two or more arrays into a new array. This method…

Continue reading →

Javascript array functions

JavaScript provides a wide range of built-in array functions that allow you to manipulate arrays…

Continue reading →

Javascript array filter method

The filter() method is a built-in function in JavaScript that operates on arrays. It creates a new…

Continue reading →

Javascript Array Map Function

The Array.prototype.map() function in JavaScript is used to transform the elements of an array into…

Continue reading →

Generate an HTML table from a multidimensional PHP array with keys and values

In this example, we have a multidimensional array with three rows and three columns. We use a foreach…

Continue reading →

PHP PDO (PHP Data Objects) to connect to a MySQL database and perform a query

How to use PHP PDO (PHP Data Objects) to connect to a MySQL database and perform a query

Continue reading →

Difference between an Object Constructor and an Object Literal in Javascript

The primary difference between object constructors and object literals is that object constructors…

Continue reading →

VueJs ajax php

Using Vue.js with AJAX and PHP can allow you to build powerful and dynamic web applications with…

Continue reading →

Use onoffswitch-checkbox to update table field in php

How we use onoffswitch-checkbox ,  it's attribute data-id and change event  with ajax  to set a field…

Continue reading →

Javascript variables

A variable is an identifier for a value.  We use variables to store values.  A variable can be a…

Continue reading →

Javascript

Javascript is a programming language.  Javascript was used in browsers for a long time for interactive…

Continue reading →