I'ld like to insert the footer of my website dynamically so I can add it to multiply pages without copy and paste it every time. 
I know an iframe can do it but I heard that's not a good solution and not working for seo. 
Can it be done with PHP or JavaScript?