Myślę, że to
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
powinno być
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";