Footer duplicate

My website

Hi! I don’t know why my footer appear duplicate in all my pages. I used <?php include ('footer.html')?> and also try include_once but the footer appear twice. When I saw the website from my localhost I don’t have this problem.

¿can somebody help me?

Hello!

Please share the code of the file index.php and footer.html

Thanks!

5 Likes

Hi! I already resolved it. I don’t know why but the code of ‘footer.html’ was duplicate when upload it to the hosting. Sorry for bother and thanks for answer me.

1 Like

That’s what I thought was happening. Glad you figured it out!

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.