![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello! I am using php to get a result from a MySql Query, but the listing is too long to have in one column. Can i use CSS to get my result in several column? How? |
#2
| |||
| |||
|
|
Matthias Gutfeldt wrote: What kind of markup are you using for your 'listing' ? Tables, lists, ... ? Matthias I have been using table, but are open for suggestions if you have some tip. |
|
a|1| |e|5| b|2| |f|6| c|3| |g|7| d|4| |h|8| - - - - - |
#3
| |||
| |||
|
|
Matthias Gutfeldt wrote: OK, I didn't ask the right question :-). Is this tabular data, or just a list of items? Addresses, stock quotes, ... ? This is a list of items ( int(4) ) Wich comes from a mysql database. Here is the Sql sentence: $Select = "SELECT DISTINCT tabellnummer AS svar1 FROM skatt"; Plane and simple. With tables you could e.g. spread the results over several columns, like this: _ _ _ _ _ |a|1| |e|5| |b|2| |f|6| |c|3| |g|7| |d|4| |h|8| - - - - - Exactly! Only that I want only one item listed the same way. ________ |1|5| 9| |2|6|10| |3|7|11| |4|8|12| ________ |
![]() |
| Thread Tools | |
| Display Modes | |
| |