मुझे यह लगता है
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
होना चाहिए
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";