eu acho que isto
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
deveria estar
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";