Commenting System - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Commenting System (1035 Views)
| Commenting System by gateluv(op): 1:30pm On May 19, 2012 |
Good day all programmers, i was working on a website that a member will register,post questions and also send answers on any questions posted. I have created tables (accounts,posts) and they are working perfectly with php coding to echo the questions posted each. What i need now is the answers table and the php coding to select the answers posted on each questions and echo them based on the id. My question table has id,question,username,sender. Thanks |
| Re: Commenting System by delomos(m): 11:56pm On May 19, 2012 |
What is your database schema like? |
| Re: Commenting System by mkwayisi: 11:35am On May 24, 2012 |
delomos: What is your database schema like?Does it matter? |
| Re: Commenting System by mark2k(m): 12:28pm On May 24, 2012 |
gateluv: Good day all programmers, i was working on a website that a member will register,post questions and also send answers on any questions posted. I have created tables (accounts,posts) and they are working perfectly with php coding to echo the questions posted each. What i need now is the answers table and the php coding to select the answers posted on each questions and echo them based on the id. My question table has id,question,username,sender. ThanksHi, very simple if i get you right. just create a table call anyname but make sure it has a foreign key of posts so that it will be very easy to know which answer belong to which posts. Or why don't you just use wordpress? |
Why You Are Banned From Commenting On Nairaland • Commenting System Refresh • 2 • 3 • 4
What Do I Need To Know To Become A Professional Web Designer? • Dowload Andriod App For Income Tax And Net Pay Calculation-Simple And Detailed. • New Forum For Webmasters And Programmers(mycodeng)