Click here to Skip to main content
15,886,799 members
Articles / Programming Languages / PHP

SQL for listing field(s) on columns

11 Jan 2022CPOL4 min read 6.5K   72   7  
An tip to get a data list on 2 (or more) columns.
The article shows how to obtain a two or three columns list of an ordered field of a table using only SQL statements. The items can be placed by row (e.g. left to right) or by column.
This is an old version of the currently published article.

Only logged in members can view this content

Please go to the PHP Table of Contents to view the list of available articles in this section.