Comments on each page??
View Single Post
08-20-2009, 02:59 PM
Join Date: Aug 2009
Well yes ... id needs to be passed in the url for it to work, and needs to be stored in the database when you create the comment.
Basically you need to tie everything together,
When the comment is added you need to insert an identifier of the page .. Normally I just us an ID # for speed..
Then when you select the page .. you select the comment records with that same ID number...
Seeing as you are already passing: setname=DoS.E
It might be easier to change things slightly, when adding the comment add in the setname as the unique identifier in the comments db .. then when you select ... select by setname ..
Clear as mud? :)
The main reason i'm trying to push to ID is because if the site gets larger and the DB for comments gets large you want to have an INT field not TEXT/VAR for the joinning.
The Following User Says Thank You to jasonberresford For This Useful Post:
View Public Profile
Send a private message to jasonberresford
Find More Posts by jasonberresford