Det tror jeg
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
burde være
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";