How to implement tables ??? Obtain the table structure style from the database: SQLcodecol1col2col3col4aa1a21.2589aa1a22.2510aa1a25.2502aa1a21.0058aa1 how to implement the table ???
Get the table structure style from the database:
SQL code
col1 col2 col3 col4 a a1 a2 1.2589 a a1 a2 2.2510 a a1 a2 5.2502 a a1 a2 1.0058 a a1 a2 6.2589 b a1 a2 7.2589 b a1 a2 3.1247 b a1 a2 1.3652 b a1 a2 2.2589 b a1 a2 1.2589 c a1 a2 1.7278 c a1 a2 2.4989 c a1 a2 1.2589 c a1 a2 3.1509 c a1 a2 1.2500 d a1 a2 4.2899 d a1 a2 1.2785 d a1 a2 5.2587 d a1 a2 1.2536 d a1 a2 1.2471
The following table style is displayed on the interface:
HTML code
col2 col3 col4 col5 a1 a2 1.2589 7.2589 a1 a2 2.2510 3.1247 a1 a2 5.2502 1.3652 a1 a2 1.0058 2.2589 a1 a2 6.2589 1.2589
How can I implement it ..
The values in Col1 are all five in one group (that is, there are five identical values), and one group is one column.
------ Solution --------------------
Wood shows what the rule is. SQL is not good. Use php.
------ Solution --------------------
I didn't see any rules, but if it's like year, month, day, you can use php
For ($ I = 1900; $ I <= 2012; $ I ++)
{
Echo $ I;
}
?>
------ Solution --------------------
What is the data structure of the landlord? Is it the legendary mysql key-> value structure.