Display page comments on seperate pages
I want to display my page comments with the page the user is commenting on only, right now I have it set up so it displays on every page in the recordset. The way I plan on filtering is by having the date under the comic page being entered into the database, in the comments table, then I want to filter it by the creators ID (this works) and the date entered which will be identical to the exact time the page was uploaded shown in the date field below the comic.
I am trying to write the proper query where comments.date = uploads.date , right now I am getting zero results. The query I wrote looks like
SELECT comments.*, uploads.date
FROM comments, uploads
WHERE USERIDENT = colname AND comments.date=uploads.date
ORDER BY comments.ID DESC