Dlaczego poniższe zapytanie powoduje błąd?
$addDatabase = $db->prepare("CREATE DATABASE IF NOT EXISTS :dbName");
$addDatabase->bindValue(":dbName", $dbName, PDO::PARAM_STR);
if(!$addDatabase->execute()){
print_r($addDatabase->errorInfo());
}
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''adasdasda'' at line 1 )