JQuery has made easy to handle Javascript events and animation. In this article we will see how to inserts content at the end of selected elements. We will use jQuery.append() method to insert content...
In this article, we will discuss Laravel 5 Export Data Excel/CSV. To achieve this functionality, we are using “Maatwebsite/Laravel-Excel” package. Here I will explain you st...
With Javascript, you can change HTML element content. To change content in HTML element, first you need to select it. There are several methods to select element using different aspects like id or cla...
Use the PHP str_replace() function
You can use the PHP str_replace() function to find and replace any portion of a string with another string. In the following example the subst...
When working with API in Laravel or similar, often you need to get query results to array or json instead of model object. Laravel provides simple ways to convert query results in array or json.
Co...