HTML is used to display information. PHP and SQL however is used to store/retrieve information, in turn the html displays the information that php is carrying. You need to integrate php and a database (stores footers) then retrieve them at where you want the footer.