Today, we are share with you how to set header in excelsheet when you are export excel in laravel. mostlly all developer use maatwebsite/excel package in laravel application for excel import/export. s...
Use the PHP explode() function
You can use the PHP explode() function to split or break a string into an array by a separator string like space, comma, hyphen etc. You can also...
Use the Array.isArray() Method
You can use the JavaScript Array.isArray() method to check whether an object (or a variable) is an array or not. This method returns true if the v...
In this article, we will discuss on setting and getting value from input and textarea. These elements contains value and not text. So first, let's starting with getting value from input field....
PHP provides simple method to create zip file from the files or simple text files. There is ZipArchive class available for working with zip file. To use this class, first of all you need to download p...