enchance Posted September 19, 2007 Share Posted September 19, 2007 Would any of you guys know the code to develop an inline commenting system on articles? Like the kind you see in blogs were a user posts a reply and it gets appended at the end of the page like magic. Link to comment https://forums.phpfreaks.com/topic/69974-making-inline-comments/ Share on other sites More sharing options...
d22552000 Posted September 19, 2007 Share Posted September 19, 2007 Ya, either use a flat file database per article or use mysql, once you have chosen what you will use then you can message back and I can help you out Link to comment https://forums.phpfreaks.com/topic/69974-making-inline-comments/#findComment-351458 Share on other sites More sharing options...
AdRock Posted September 19, 2007 Share Posted September 19, 2007 Ya, either use a flat file database per article or use mysql, once you have chosen what you will use then you can message back and I can help you out What he means about a flat file database is use a text file that gets appended whenever a new comment is added Link to comment https://forums.phpfreaks.com/topic/69974-making-inline-comments/#findComment-351464 Share on other sites More sharing options...
Jessica Posted September 19, 2007 Share Posted September 19, 2007 I would use a database and in the comments table, you have a parentID or something, that shows which comment it was a reply to. Then you use a recursive function like this: http://www.phpfreaks.com/forums/index.php/topic,159658.msg696481.html#msg696481 To sort them out. Link to comment https://forums.phpfreaks.com/topic/69974-making-inline-comments/#findComment-351470 Share on other sites More sharing options...
AndyB Posted September 20, 2007 Share Posted September 20, 2007 Something like www.digitalmidget.com/php_noob/comment.php perhaps? Link to comment https://forums.phpfreaks.com/topic/69974-making-inline-comments/#findComment-351508 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.