Hello.
I apologize that I cannot provide the source since I'm on my tab right now but I try to explain as clear as possible, What I am trying to archive is get an id of a post in the database so say when a user comments then hits enter that will then get the post ID From the groups_posts table to insert the id in the groups_comments table since each comments needs the id of the post it is assigned to, I cannot seem to archive this as Ajax JQUERY won't get the id of the post where as pure php worked fine :/
The question is when making a group feature like FB what's the best way to get an id of the post that the user has commented on so the comment knows what post to display under. While using JQUERY
Hoe this makes sense.
Spudster
I apologize that I cannot provide the source since I'm on my tab right now but I try to explain as clear as possible, What I am trying to archive is get an id of a post in the database so say when a user comments then hits enter that will then get the post ID From the groups_posts table to insert the id in the groups_comments table since each comments needs the id of the post it is assigned to, I cannot seem to archive this as Ajax JQUERY won't get the id of the post where as pure php worked fine :/
The question is when making a group feature like FB what's the best way to get an id of the post that the user has commented on so the comment knows what post to display under. While using JQUERY
Hoe this makes sense.
Spudster