Tutorial

How to find the length of a string using strlen() in C

C program to find length of a string, for e.g, length of "East or West INDIA is best" is 26 (including space and excluding null character).

Convert hexadecimal color to rgb or rgba in php

Convert hexadecimal color to rgb or rgba in php

Get Array of IDs from Eloquent Collection in Laravel

Get an array of ids from Eloquent collection in Laravel using pluck() and modelKeys() function

Refresh browser window whenever file changes are saved

A quick guide for configuring auto-reload browser window whenever file changes are saved.

indexOf() Method in Javascript

JavaScript array indexOf() method returns the index of first occurrence at which a given element can be found in the array, or -1 if it is not present

How to find the array index key of multi-dimensional array

array_search() is a built in PHP function that searches the array for a given value and returns the first corresponding key if successful. Syntax array_search ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) : mixed Support: (PHP 4 >= 4.

How to Get Values from Multi-dimensional Arrays with array_column()

array_column() is an inbuilt PHP function which is used to get the values from a single column from the multi-dimensional array or an array of objects.