SELECT * FROM users WHERE username=:username
$user = [
'id' => 1,
'username' => 'vasya',
'password' => 'длинный хеш'
]
password_verify($old_password, $user['hash'])
$hash = password_hash($new_password, PASSWORD_DEFAULT);
UPDATE users SET password=:hash WHERE id=$user['id']
while($row = $result->fetch_array())
{
echo 'Author: ' . $row['author'] . "<br>";
echo 'Title: ' . $row['title'] . "<br>";
echo 'Category: ' . $row['category'] . "<br>";
echo 'Year: ' . $row['year'] . "<br>";
echo 'ISBN: ' . $row['isbn'] . "<br><br>";
}
foreach ($not_calculate_dpd as $not_calculate) {
if ($not_calculate['value'] == attribute($_context, 'shipping_dpd_not_calculate' ~ $not_calculate['value'])) {
echo $not_calculate['name'];
} else {
echo $not_calculate['name'];
}
}
foreach ($not_calculate_dpd as $not_calculate) {
echo $not_calculate['name'];
}
artisan make:model Article -m
Model created successfully.
Created Migration: 2021_05_28_111836_create_articles_table
class CreateArticlesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('articles', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('articles');
}
}
документация не полная, там много чего нет.
"width": (
property: width,
class: w,
values: (
25: 25%,
50: 50%,
75: 75%,
100: 100%,
auto: auto
)
),
responsive: true,
и делаем однозначный вывод, что класса w-lg-50
в бутстрапе по умолчанию нет."width": (
responsive: true, // added
property: width,
class: w,
values: (
25: 25%,
50: 50%,
75: 75%,
100: 100%,
auto: auto
)
),
<h1>
Hi there! We are the new kids on the block
and we build awesome websites and mobile apps.
</h1>
h1 {
max-width: 600px; // Подобрать, чтобы текст не расползался по всей ширине
margin-left: auto;
margin-right: auto;
text-align: center;
}