From the database everything is OK. "SELECT * FROM wallpapers;" works fine through the same PDO. But for some reason, nothing happens.
public static function addWallpaper( $wallpaper_name ) { $query = 'INSERT INTO wallpapers (name) VALUES (":wallpaper_name");'; $prepare = self::$_connection->prepare( $query ); $prepare->bindValue( ":wallpaper_name", $wallpaper_name ); $prepare->execute(); }