How to make the content repeat on another page?

Asked

Viewed 43 times

0

Hello, I am developing an application using PHP and bootstrap. The body is composed of three columns, the two sides they should be repeated on all other pages, wanted to know how to insert them on the other pages in a way that when I change a column all other pages also receive this change?

  • 1

    You can create a column.php file and give a include where you want it to appear.

  • I also think a include would solve your problem, here’s a video lesson: https://www.youtube.com/watch?v=QZMWuPbKgQA I hope I helped you.

1 answer

1

You could do something similar to this menu, but in your case, you would have two menus and the content in the center. Thus, you changing the content of the menus, which in your case would be the two side columns, the central part would not change and also you would not change the other pages because you would only have an html page. https://bootsnipp.com/snippets/featured/nav-tabs-dropdown

  • I still don’t understand right

Browser other questions tagged

You are not signed in. Login or sign up in order to post.