Is there any possibility to make menu always appear in every pages?

dear all

In the beginning using php,
I usually duplicate list of menu in every page
to make the site seems in the same pages. :smiley:

After that,
I only use one menu file with frame approach.

The question is:
is there any possibility to make menu always appear in every pages?

Yeah.

If you put the menu in a single file, you can then include it wherever you need using a require or include function call.


include('my_menu.php');

basically does the same as copying and pasting everything you have in my_menu.php and puts it in place of that function.

Check the PHP documentation for the include file for more details.

I am sorry sir.
It’s not that I mean.
I ask the wrong question.
I will ask the new question later.

Thanks,

Sihar