What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-08-31 06:44:01
php artisan migrate SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'password_resets' already exists
if(!Schema::hasTable('users')){ Schema::create('users', function (Blueprint $table) { $table->increments('id'); $table->string('name'); $table->string('email')->unique(); $table->string('password'); ... Add solution -
PHP 2021-08-29 15:13:02
how to use php echo data in javascript
<?php $php_variable = 'string'; //Define our PHP variable. You can of course get the value of this variable however you need. ?> <script> js_variable_name = "<?php echo $php_variable; ... Add solution -
Shell/Bash 2021-08-28 18:24:02
ubuntu install composer
sudo apt update sudo apt install php-cli unzip cd ~ curl -sS https://getcomposer.org/installer -o composer-setup.php HASH=`curl -sS https://composer.github.io/installer.sig` echo $HASH php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH... Add solution -
Shell/Bash 2021-08-28 09:12:01
install laravel on ubuntu 20.04
1. Install Prerequisites Install the software dependencies. $ sudo apt install -y php-mbstring php-xml php-fpm php-zip php-common php-fpm php-cli unzip curl nginx Install Composer: $ sudo curl -s https://getcomposer.org/installer | php $ sudo mv compose... Add solution