konfused Posted May 29, 2013 Share Posted May 29, 2013 I am puzzled by one piece of repeated code in Larrie's books. He uses this format:<?php$page_title = 'Edit a User';This is then echoed to a page displayWhat advantage does this give over the traditional format used within the head tags<title>Edit a User</title> Link to comment Share on other sites More sharing options...
abigail Posted May 29, 2013 Share Posted May 29, 2013 Each page can set a different title in it's own file and header file (included) always stays unchanged. 1 Link to comment Share on other sites More sharing options...
Recommended Posts