dynamic and static code example
Example: what is the difference between static and dynamic websites?
Static Websites:- in static websites, content can't be changed after running the script. you cannot change anything in the site as it is predefined.
Dynamic websites:- in dynamic websites, content of script can be changed at the run time. its content is regenerated every time a user visits or reloads.