hi all,

for example.

this is my mysql query result.

A | B | C

a1| a2| a3
b1| b2| b3
c1| c2| c3
d1| d2| d3

i want to print the result like columnwise as following.


Any suggestions please....

Explain in detail. post acutally table structure and sample data (preferably in sql format)
Then post expected output.

Use this query.....

SELECT B from table_name
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.