| | |
separate query result in different columns
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Dec 2008
Posts: 19
Reputation:
Solved Threads: 1
•
•
•
•
hi All,
I want to ask if is there any possibility to separate column data in different columns using php code.. really dont know if i have solution in php or here in mysql..
any idea would be really appreciate
Thanx
enim
What are you exactly trying to say? Make it clear. Do you want to display table items in a column or what else?
•
•
Join Date: Jun 2008
Posts: 40
Reputation:
Solved Threads: 2
hi guys..
i posted my thread without any further explanation or illustrations..
my problem is i have a query that fetch (like for example) 5 rows and i want a column with different data.
column 1
------------
data1
data2
data3
from query to be like..
(in front-end)
first data | second data | third data
---------------------------------------------
data1 | data2 | data3
like that..
guys really need any idea, opinions, suggestions.. if that problem has any solution.. whether from mysql coding or php.
thanks for the help
enim
i posted my thread without any further explanation or illustrations..
my problem is i have a query that fetch (like for example) 5 rows and i want a column with different data.
column 1
------------
data1
data2
data3
from query to be like..
(in front-end)
first data | second data | third data
---------------------------------------------
data1 | data2 | data3
like that..
guys really need any idea, opinions, suggestions.. if that problem has any solution.. whether from mysql coding or php.
thanks for the help
enim
Last edited by enim213; Jan 8th, 2009 at 2:48 am.
•
•
Join Date: Jun 2005
Posts: 60
Reputation:
Solved Threads: 5
PHP will allow you to format the display of data in any format that you can think of.
Remember that you are taking data out of an array and placing it into holders, usually columnar but they can be a horizontal series
[d1 d2, d3 d4 d5 d6 d7 d8 d9]
just as easily.
Or a set of columns in a set of rows
[d1 d2 d3
d4 d5 d6
d7 d8 d9]
Using CSS they could be wandering independantly around the screen, or following the mouse. The actual placement is limited only by your imagination.
Remember that you are taking data out of an array and placing it into holders, usually columnar but they can be a horizontal series
[d1 d2, d3 d4 d5 d6 d7 d8 d9]
just as easily.
Or a set of columns in a set of rows
[d1 d2 d3
d4 d5 d6
d7 d8 d9]
Using CSS they could be wandering independantly around the screen, or following the mouse. The actual placement is limited only by your imagination.
![]() |
Similar Threads
- How to configure GD (PHP)
- dynamic array variable.. (PHP)
- php.ini confusion (PHP)
- Pivot table in DataGrid (VB.NET)
- php table help (PHP)
Other Threads in the PHP Forum
- Previous Thread: How do I output information from a PHP page to an HTML page?
- Next Thread: Read file names VS read file
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail mediawiki menu mlm mod_rewrite multiple mysql number oop parse paypal pdf php phpincludeissue phpmyadmin problem query radio random recursion regex remote script search server sessions sms soap source space speed sql structure subdomain syntax system table tag tutorial update upload url validation validator variable vbulletin video web websphere white xml youtube





