I am building a small application and am learning the best way to make an easily maintainable / encapsulated form.
I am wondering is it best practice to make a “function” of the form or “include” it as a HTML include file.
As I repeat the same form through several scripts.
This is a subjective question, but I am wondering what a good quality website looks like (functionally programmed - my current skill set
Any commentary on include files vs functions appreciated!
As really they seem to both produce the same outcome.