How would you make something in php which would increase the number of columns in a table depending on the number of comments made by users Also need a comment system?
-
-
Answer:
if you want to change the columns in a mysql table use the ALTER TABLE command. however i would suggest that you are not building your database correctly, you should have two tables in this case, one for the user and one for the comments, that way you don't have to change the structure of your table every time someone makes a comment.
wiki.answers.com Visit the source
Related Q & A:
- How can I make a dynamic web page in PHP?Best solution by Yahoo! Answers
- How to create a table in PHP with MySQL?Best solution by Stack Overflow
- How can I make a myspace comment into a picture caption?Best solution by Yahoo! Answers
- When you carve on a snowboard do you also need to go flat to switch edges?Best solution by Yahoo! Answers
- How do I delete a comment that I made on a video in YouTube?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.