digi duck Posted February 10, 2012 Share Posted February 10, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/256832-user-generated-pages/ Share on other sites More sharing options...
digibucc Posted February 10, 2012 Share Posted February 10, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/256832-user-generated-pages/#findComment-1316674 Share on other sites More sharing options...
digi duck Posted February 10, 2012 Author Share Posted February 10, 2012 Cheers ill give it a go Quote Link to comment https://forums.phpfreaks.com/topic/256832-user-generated-pages/#findComment-1316690 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.