How to use php array_unique() function The array_unique() function removes duplicate values from an array. If two or more array values…
jQuery Add and Remove CSS Classes jQuery provides several methods, such as addClass(), removeClass(), toggleClass(), etc. to manipulate the CSS classes /add and remove…
How to set value in for-loop on Laravel blade Basically {{ $last= date('Y')-120 }} in this part you are showing the value but you need to…
How to use PHP count() Function The php count() function returns the number of elements in an array. Syntax count(array, mode)…
Cross-browser method to fit a child div to its parent’s width The solution to fit child div to it’s parent is to simply not declare width: 100%.…
How to add a new column to the existing table of Laravel in a migration To create a migration to add a new column, you may use the migrate:make command…
Insert Headers and Footers by WPBeginner Description EASILY INSERT HEADER AND FOOTER CODE Insert Headers and Footers is a simple plugin…
How to use Soft Deleted Models As noted above, soft deleted models will automatically be excluded from query results. However, you…
How to use Laravel Eloquent “WHERE NOT IN” Query Builder: Eloquent: select can be replaced with an array in get. SO is faster than searching…