David Ashby

David Ashby

  • NA
  • 2
  • 1.1k

Dynamic Navigation Menu in PHP

May 20 2013 9:54 AM
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