Мисля, че това
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
трябва да бъде
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";