Is there a way to make a constructor that creates a brand new page from a template with certain variables?

  css, html, javascript, php, three.js

I know this question is probably confusing but here’s the long answer. I would like to make a website in which business owners could log on and create their own website. I already have the design for the template that I want, so now I’m working in a separate file, trying to figure this out to no avail.

The idea would be that people can customize their website, changing certain variables with sliders to what they want. I would then want a button that creates a new file in the same folder. This file would be a constructor containing many of the variables changed by the user on the design screen.

Is there a way to make a constructor that creates a brand new page from a template with certain variables?

Source: Ask PHP

LEAVE A COMMENT