Jump to content

User Generated Pages


digi duck

Recommended Posts

Hi.

 

I have a rating site where users fill in a name of what they are rating, comments about it and a rating and submit it to my database. I then have another page which shows all of these entries but only the name and overall rating using php.

 

What I want is for users to click on the name and it take them to a separate page which displays all the comments and ratings for that item. As users can add items to rate I cant set up a page for each manually so was wondering how to do it dynamically. Everything i throw into google leads me in the wrong direction though. If someone could point me to a good tutorial or give me an idea about what to search id be very grateful.

 

Cheers.

Link to comment
https://forums.phpfreaks.com/topic/256832-user-generated-pages/
Share on other sites

have a separate table that just holds the created types, yours and theirs. the entry there would correspond to an id field in your original table.

 

read the new table in, foreach type make a link, etc. when they add a type just add it to the new table.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.