Hi,
I created a comments for. with recaptcha, ip banning etc....
Basically i want to use the same form for entire site, i have different articles that i want people to be able to comment on. User basically clicks on "Comments Link" and a popup shows with comment form with comments underneath it etc.
I am unsure how i can use same form for different articles without commments form one article mixing with another.
at the moment in my msql DB i got:
post_id (auto increment)
name
subject
comment
date_time
ip_address
Now i am still learning PHP but i seem to not be able to find how i create such a thing that allows me to for example on end of my comment page comments.php?comment_id=1 etc
i know it to do with $_GET but it is all confusing me and not sure if this is correct way, i know how get works and sort of how to use it.
I can easily put the form in a function if needed and call it from an external file in my global.php.
I just dont want comments from one article being mixed with comments from another article. i want them seperate like if they had there own forms.
Any help, explanation on this would be so much appreciated as it is something i really want to tackle, it will save me valuable time and make my programming more sufficent.
i have at the moment added a column called comment_id as i think i need to do something like that as part of what i want to acheive but at the moment just leaving it like it is until i can am told how to do what i want.
Thanks
Mat