Jump to content
Sign in to follow this  
maxnerb

Include another html page via php

Recommended Posts

maxnerb

Hello, I like to include the content of another html page within my footer via the following code: <?php require('leistungen/menu.html'); ?> The Menu, that should appear then is here: http://www.praxis-nerb.de/leistungen/menu.html I have no clue about php (this was sent to me by someone else). I already tried to integrate that code into the footer.php but it didn't show up. But probably because I don't know php. Maybe you have advice... Thanks Max

Share this post


Link to post
Share on other sites
Simon

`<?php include('leistungen/menu.html'); ?>` Try include instead.

Share this post


Link to post
Share on other sites
maxnerb

thanks for your advice, that worked too, I just pasted it in the wrong place and now it works both

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×