Jag tror det här
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
borde vara
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";