I want to create a website that has each of its pages stored on the server, but not as loads of individual html files. A user would also be able to create a page by simple entering the page text, a page title, then clicking submit. This would then add that page to the server, and the page would be easily indexable by search engines.
Should the pages be stored in a mySQL database? And if so, how would each page have a permanent link without doing something like: www.website.com/loadpage.php&p=8
I would prefer something like: www.website.com/user-submitted-page-title/
Obviously lots of websites do this, but I haven't been able to find any explanation.
Sorry if this is a bit of a rookie question, I really appreciate the help.