first of all we need to get fresh Laravel 6.0 version application using bellow command, So open your terminal OR command prompt and run bellow command:
composer global require laravel/installer
laravel new blog --dev
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // code will post in the description of our youtube . | |
| // Write a function that can calculate the summation of 3 integers | |
| int sum( int a, int b, int c) { | |
| // we can declare new variable to store the result from a+b+c | |
| int sum = 0; |
| <?php | |
| $servername = "localhost"; | |
| $username = "username"; | |
| $password = "password"; | |
| $dbname = "myDBPDO"; | |
| try { | |
| $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); | |
| // set the PDO error mode to exception | |
| $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |
| <?php | |
| $servername = "localhost"; | |
| $username = "username"; | |
| $password = "password"; | |
| $dbname = "myDBPDO"; | |
| try { | |
| $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); | |
| // set the PDO error mode to exception | |
| $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |
| <!-- | |
| Store these colors in array: 'red', 'green', 'blue', 'yellow', 'purple' | |
| as $colors then update your list of colors to be sorted in alphabetical order. | |
| --> | |
| <?php | |
| $colors = array( |
| import sys | |
| import codecs | |
| import os | |
| import math | |
| import operator | |
| import json | |
| from functools import reduce | |