Use Command to install fresh laravel setup 1. composer create-project --prefer-dist laravel/laravel blog 2. chmod -R o+w blog/storage/ 3. composer install 4. php artisan key:generate
Developers Map
Discy Latest Questions
Here’s code given $resCategory = $this->OtUserQuestion->find('list',['keyField'=>'uq_id','valueField'=>'uq_question_id'])->where(['uq_ue_id'=>$rowUserExamInfo->ure_reas_id,'uq_satisfy_status'=>2])->toArray();
The ucwords() is an in-built function of PHP, which is used to convert the first character of each word to uppercase in a string. The ucwords() is supported by the PHP 4 and above versions. It takes a string as ...
The at sign (@) is used as error control operator in PHP. When an expression is prepended with the @ sign, error messages that might be generated by that expression will be ignored. If the track_errors feature is enabled, an ...
if you want to replace inline style with preg replace use this code: –
php is a server side language. if you want to create a qr code in then use below code. in this you can create qr code or make qr code image. if you want to use qr code then click ...
Cookie: A Cookie is a small file sent by the server to preserve state full information for a user. It is stored on the user’s computer and sent to the server every time the user makes a request for the ...
Hello Guys We are here to explain detect device detail
if you want a create a zip of files or images or anything else you can use below code For Codeignator use belowe code :
Use code: Generate random 5 char string in php
in php if you want to detect your browser name thne you can use below code. A browser is a application where we can open our web page. For More Info you can CLICK HERE
In php if you want to translate a text from one language to other language then you can use below code. you have to create a google api key for translate word.In this we should pass a source language code ...
The serialize() converts a storable representation of a value. A serialize data means a sequence of bits so that it can be stored in a file, a memory buffer, or transmitted across a network connection link. (PHP 4 and above) Name Description ...