0
Answer

Dynamic Navigation Menu in PHP

David Ashby

David Ashby

11y
893
1
Hi, my question is if you have meta information stored in a MySQL DB how would you go about displaying this information in the source code of the relevant page?

Being cheeky my 2nd question is

The code in your article works great, as expected however I want to make an adjustment to it as far as the <title><?=$page?></title>

When displaying the title you get the .php extension e.g. home.php

I have seen ways through using .htaccess but how do you remove the extension .php from the title using php?

Thanks