Ich denke das
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
sollte
sein$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";