background-image: url("http://www.syndicut.co/images/logo-white.svg")
, а это немного не то label:checked{
background-color: red;
}
ничего не поменяется $searchq = $_GET['q'];
$articles = Article::searchArticles($searchq);
public static function searchArticles(string $searchq): array{
$db = Db::getInstance();
return $db->query('SELECT * FROM `' . static::getTableName() . '` WHERE `name` LIKE \'%searchq=:searchq%\' LIMIT 1', [], static::class);
}
public static function searchArticles(string $value): array{
$db = Db::getInstance();
return $db->query('SELECT * FROM `' . static::getTableName() . '` WHERE `name` LIKE :value', [':value' => $value], static::class);
}
public static function searchArticles(string $value): array{
$db = Db::getInstance();
return $db->query('SELECT * FROM `' . static::getTableName() . '` WHERE `name` LIKE :value', [':value' => $value], static::class);
}
$articles = Article::searchArticles($_GET['q']);
ничего не поменяется.