gulp build
gulp
<?php | |
// Подключение к БД | |
$pdo = new PDO("mysql:host=localhost: dbname=test", "root", ""); | |
// Готовим запрос | |
$sql = "SELECT * FROM tasks"; | |
$statement = $pdo->prepare($sql); // подготовить запрос | |
$result = $statement->execute(); // вернет true || false // Запускает подготовленный запрос на выполнение |
/* WaterMark Водный знак */ | |
// Сообщаем браузеру что ему даем картинку | |
header('Content-Type: image/jpeg'); // Работает для jpeg | |
$dir = __DIR__ . "/images/"; | |
$arr_name_img = scandir($dir); | |
array_shift($arr_name_img); // Удалил . | |
array_shift($arr_name_img); // Удалил .. |
<?php | |
$dir = scandir("source"); | |
$file = []; | |
for ($i = 2; $i < count($dir); $i++) { | |
$_arr = fopen("source/" .$dir[$i], "r"); | |
array_push($file, file("source/" .$dir[$i])); | |
} | |
$arr = []; | |
$arr = call_user_func_array('array_merge', $file); |
<h1>Kaboom</h1> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<ul id="chat"> | |
</ul> |
<?php | |
spl_autoload_register(function ($ClassName){ | |
$filePath = 'classes/' . $ClassName; | |
if (file_exists($filePath)) { | |
require_once $filePath; | |
} | |
}); | |
spl_autoload_register(function ($ClassName){ | |
$filePath = 'controller/' . $ClassName; |
/node_modules | |
/public/hot | |
/public/build | |
/public/storage | |
/storage/*.key | |
/vendor | |
.env | |
.phpunit.result.cache | |
Homestead.json | |
Homestead.yaml |
<!-- HTML для класса --> | |
<span class="rating nowrap" id="stars3"> | |
<i class="empty star" data-qty-star="1"></i> | |
<i class="empty star" data-qty-star="2"></i> | |
<i class="empty star" data-qty-star="3"></i> | |
<i class="empty star" data-qty-star="4"></i> | |
<i class="empty star" data-qty-star="5"></i> | |
<label for="stars_input3"></label> | |
<input type="text" name="star_rait_speed" id="stars_input3" value="0" class="review-qty" readonly> | |
</span> |
var all = document.getElementsByTagName("*"); | |
console.log( all.length ); |