Jump to content



Photo
- - - - -

Title Tag In Php Working In Html Header File


  • Please log in to reply
2 replies to this topic

#1 TonyB

TonyB

    Newbie

  • Members
  • Pip
  • 5 posts
  • LocationBoston Ma

Posted 2 March 2012 - 10:14 AM

I don't understand how the the header.html file is writing PHP in it's <title></title> tags ?
  • 0

#2 TonyB

TonyB

    Newbie

  • Members
  • Pip
  • 5 posts
  • LocationBoston Ma

Posted 2 March 2012 - 10:31 AM

Sorry, but I think I understand now, the include or require file take on the extension of the parent file so that is why the PHP is working from an HTML file


undefined


  • 0

#3 Larry

Larry

    Administrator/Writer

  • Administrators
  • 3,530 posts
  • LocationState College, PA (USA)

Posted 2 March 2012 - 10:59 AM

Yes, that's exactly what's happening.
  • 0