|
text in a table cell
I'm not sure if this is possible. I have tried numerous ways of doing this, so either I am missing something or it just can't be done.
In the body of my page I have a table with 5 rows and 2 colums. I want to display a different string in each cell of the left column and a different integer in each cell of the right column. So it would look something like this:
-----------------
| String 1 | 52 |
| String 2 | 40 |
| String 3 | 13 |
| String 4 | 56 |
| String 5 | 97 |
-----------------
In the head of my page I included 10 variables; 5 for each string and 5 for each integer. In the table cells I want to be able to display the strings and the integers so that I can update them in one place later when needed without having to find each cell in the html code or using a database since the amount of data is so small. Please help if you have any ideas.
Thanks.
|