Saving data that is in a table efficiently and also is easy to retrieve and echo back out
Posted
by
Harry
on Stack Overflow
See other posts from Stack Overflow
or by Harry
Published on 2013-10-27T20:52:03Z
Indexed on
2013/10/27
21:53 UTC
Read the original article
Hit count: 183
Information
I currently have a table which image is below,
Problem
I have made this table using ul
& li
Here is the code
Question
What would be the best way of storing the data in the image and easily displaying it?
Keeping in mind that each column can only have 1 entry.
Thank you! And any questions will be answered ASAP!
EDIT
Sorry, I dont think I was clear enough in my initial question. What I am asking is, what is the best way to store and then display this type of data. I want to DISPLAY data from my database to show like it would in the image.
Should I have a column in my database for each column on the table, then say either A,B,C or D depending on what column it is in but then how would I display it using PHP in my code provided?
Im struggling to find a good way of explaining this, I am sorry.
© Stack Overflow or respective owner