---
title: "Comment by Hugo Fittipaldi on \"JavaScript Fetch API: A Complete Overview\" | Hashnode"
description: "Hi Graham, the file I'm fetching has a php include (a simple loop) inside, and the response.text() is commenting the php code. How can I fix this?"
url: "https://hashnode.com/posts/javascript-fetch-api-a-complete-overview/66fd489deab3c6a9c3903de8/comment/67a1318e4982106a01f4abb8"
---

[Discussion](https://hashnode.com/posts/javascript-fetch-api-a-complete-overview/66fd489deab3c6a9c3903de8)

Comment [JavaScript Fetch API: A Complete Overview](https://hashnode.com/posts/javascript-fetch-api-a-complete-overview/66fd489deab3c6a9c3903de8)

[Hugo Fittipaldi](https://hashnode.com/@fitti)

[Feb 3, 2025](https://hashnode.com/posts/javascript-fetch-api-a-complete-overview/66fd489deab3c6a9c3903de8/comment/67a1318e4982106a01f4abb8)

Hi Graham, the file I'm fetching has a php include (a simple loop) inside, and the response.text() is commenting the php code. How can I fix this?
