| | |
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 |
301 access apache api array autocomplete beginner binary broken button cakephp checkbox class cms code compression cron curl data database date display dropdown dropdownlist duplicates dynamic echo email error execution file files folder form forms function functions google href htaccess html htmlspecialchars httppost image include insert integration ip javascript joomla jquery limit link links login mail md5 menu methods mlm multiple mysql oop paypal pdf pdfdownload php phpvotingscript problem query radio random recursion remote script search secure server session sessions sms source space sql subscription syntax system table tutorial update upload url validator variable video virus volume votedown web youtube





