Thor
Honorary Master
- Joined
- Jun 5, 2014
- Messages
- 44,236
I need some guidance please.
How do I go about to let the website build pages from content generated(submissions) by a user?
Example:
I am going to use pets as an example:
Website:
index
find my pet
Lost pets
contact
When the user go to find my pet they enter:
pet name
location last seen
image of pet
That gets stored in the DB
Now I want the website to then generate a new link/page with that data so that when a user navigates to lost pets the newly added pet is listed there and when they click the link it goes to the generated page for that pet.
Hope this makes sense.
I know how to do everything I only need guidance one what is the most ideal way to go about create a new page(file) populated with the data from the submission upon submission later I will ad moderation once I figure out how to generate the file first.
the files(pages) will be stored in a subfolder so on the lost pets page I will do a simple loop inside the folder to list all the available pages which should sort out the picking up newly added pages part.
How do I go about to let the website build pages from content generated(submissions) by a user?
Example:
I am going to use pets as an example:
Website:
index
find my pet
Lost pets
contact
When the user go to find my pet they enter:
pet name
location last seen
image of pet
That gets stored in the DB
Now I want the website to then generate a new link/page with that data so that when a user navigates to lost pets the newly added pet is listed there and when they click the link it goes to the generated page for that pet.
Hope this makes sense.
I know how to do everything I only need guidance one what is the most ideal way to go about create a new page(file) populated with the data from the submission upon submission later I will ad moderation once I figure out how to generate the file first.
the files(pages) will be stored in a subfolder so on the lost pets page I will do a simple loop inside the folder to list all the available pages which should sort out the picking up newly added pages part.