Tag : uppercase


How to convert array values to lowercase in PHP?

Whenever you require to create all array value in lowercase then you can create that without using loop. you have to just use array_map(), array_map function take two argument one for php function "strtolower" and second one for array. May be we need to do this when we are working on big projects and need to all values in small case. So, how to convert array values to lowercase using array_map(), see bellow example and learn how to work. <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $myArray = ['1'=>'Hey','2'=>'Hello','3'=>'Hi','4'=>'GM']; $result = array_map('s.....

By Hardik Savani | April 5, 2016 | | 563 Viewer | Category : PHP
READ MORE

    Laravel 5 dynamic autocomplete search using select2 JS Ajax - Part 2

    Laravel 5 dynamic autocomplete search using select2 JS Ajax - Part 2

    Open Post

    PHP - How to make dependent dropdown list using jquery Ajax?

    PHP - How to make dependent dropdown list using jquery Ajax?

    Open Post

    Mailgun setup with Laravel 5 example

    Mailgun setup with Laravel 5 example

    Open Post

    Codeigniter 3 and AngularJS CRUD with Search and Pagination Example.

    Codeigniter 3 and AngularJS CRUD with Search and Pagination Example.

    Open Post

    How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?

    How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?

    Open Post

    Laravel 5 create custom artisan command with example

    Laravel 5 create custom artisan command with example

    Open Post