What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-11 16:00:11
upgrade php 5.6 to 7 centos 7
sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum -y install epel-release yum-utils sudo yum-config-manager --disable remi-php54 sudo yum-config-manager --enable remi-php73 sudo yum update chmod -R 777 vendor php ... Add solution -
PHP 2022-03-11 15:20:07
laravel create
# The easiest way to create a model instance is using the # make:model Artisan command: php artisan make:model Flight # If you would like to generate a database migration when you # generate the model, you may use the --migration or -m option: php ar... Add solution -
PHP 2022-03-11 13:30:01
index.php in codeigniter
<?php #By default, the index.php file will be included in your URLs: # Create a .htaccess file in your root folder and paste the below code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$... Add solution -
PHP 2022-03-09 18:00:12
composer laravel ui
composer require laravel/ui // Generate basic scaffolding... php artisan ui bootstrap php artisan ui vue php artisan ui react // Generate login / registration scaffolding... php artisan ui bootstrap --auth php artisan ui vue --auth php artisan ui reac... Add solution -
PHP 2022-03-08 14:00:10
sort acf repeater field alphabetically
<?php // Get repeater value $repeater = get_field('traditional_dining'); // Obtain list of columns foreach ($repeater as $key => $row) { $the_website[$key] = $row['website']; $the_name[$key] = $row['name']; $the_address[$key] = $row['address'];... Add solution