How to display error without alert box using javascript ?
Errors in JavaScript can be displayed without the use of alert boxes but using the alert box is the traditional way to do that. We can show errors with two methods without using the alert box.
How to pass an object from php to javascript?
You can convert the PHP object to an array, and then use JSON function to encode it. After that, decode it from JavaScript
How to use range() function in php?
The range() function is an inbuilt function in PHP which is used to create an array of elements of any kind such as integer, alphabets within a given range(from low to high) i.e, list’s first element is considered as low and last one is considered as high.
How to load a php file into a variable in php?
In this post, we will show you how to use one PHP file’s variables in PHP.
How to check match the first & last word from a variable in php?
In this post, we use php preg_match to match the first & last word in a variable with a given first & last specific words.
How to get array value with a numeric index in php?
In this post, we used array_values() function in php to get the value of array by position with arrays with index of 1 key.