|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
change the order the data are showing
Hey guys, hello.
I need help with a problem... When i retrieve data from my dd, the results are shown in colums. Is it possible to arrange the data to appear in rows? To be specific, I have two tables (categories and products). I want to show the products that belong to a category in rows (3 results per row) For example something like this: 1 2 3 4 5 6 7 8 Is there some specific sql command? Is it a php problem? Any suggestions would be greatly appreciated P.S. even an article somewhere would be fine Thanks in advance |
|
#2
|
|||
|
|||
|
Your database can only spit the data out; any visual arranging needs to be done in your script. In PHP, a simple solution is:
PHP Code:
__________________
"A pawn is the most important piece on the chessboard -- to a pawn" |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > change the order the data are showing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|