Avatar of WDampier
WDampier

asked on 

Using php include or readfile to add css menu to a page.

I want to add a css menu to a number of web pages, but I know the menu will change at some point in the future. Rather than changing each page individually I would like to be able to use a php include or readfile function to insert the code at the appropriate point in the page. I've got this working here:
 www.naturus-test/TRANSFER/pub01.php

But it is a bit of a kludge. I am actually including text generated by js and then copied and pasted into a separate text file, then included in the main document. There must be a better way.

Also I am contemplating buying All WebMenus  Pro ($60 from Likno software) to generate the code for the menu. Anybody got any experience with this product?

Thnx for your help
PHPPage Layout SoftwareCSS

Avatar of undefined
Last Comment
scrathcyboy

8/22/2022 - Mon