pass the auto increment id to the delete command..which is unique in your table...
or post table structure ...
and here what are those parentid and postid...
i think postid is your unique id...???
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
so,you wan to delete only that post,then simple use:
$query = "DELETE FROM `forumtutorial_posts` WHERE postid = '$parentid'";
i don't know, why you are writing the below line..could you please tel me what is the reason behind that line... parentid = '$parentid' OR
or if you want to recognize both parentid and postid then use AND instead of OR.
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
hey
thanks for your help
but its solved
it was a url parse error lol
thanks again
ok.......
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162