I have juste started creating my website and I need some help.
I have found a thread about this subject but it have been dead since three months back so I didn't get what I wanted from there.
What I need help with is:
I want to create a form page (Let say page1.php) which I will use to post information to the database.
And I want the same page (page1.php) to automatically create a new page with the information from page1.php
On the new page I want to use a template that matches the rest of the website.
Can anyone please help me with the code that can do that?
I don't know where to start at this point, but I'm a quick learner.