Hey PHP - Get['variable'] ? How would I get this? [closed]

Amy

New Member
Im basically working on this site where people can reply to posts and I need to be able to get the posts id, post WITH it along with other things such as users name content etcSo the layout is kind of like this:PostReplyReplyReplyAdd your replyPostReplyReplyReplyAdd your replySo each post is echoed, then all replies follow, then post and all replies etc...And then theres a tag link which opens a popup form and allows you to add a comment associated with that post.So my question is how can I do this/that?At the moment, I've got a hidden input which is the ID for each field and then when you click on Reply it echos the ID what Im trying to do is1. Click Reply2. Be alerted with a reply box (name, message)3. Insert in the MySQL DB, with the replies' ID, the parent-ID(post that it's associated with) and then the message?I can echo the comments and posts etc fine, just inserting them is proving a little complicated to get over..Anyone help me out?Thanks,R.(PS, if youre good at PHP/MySQL, leave an email address if I can email you if I have any other problems)Thanks again
 
Back
Top