RE: [PHP] sort results into two columns
| From: | Simon Ritchie | Date: | Thu, 01 Aug 2002 16:09:47 +0000 |
| Subject: | RE: [PHP] sort results into two columns | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110694@lists.php.net to get a copy of this message | ||
> how can i sort data from mysql into two columns. Thanks.
>
> eg:
>
> link1 linka
> link linke
Do you mean how can you get MySQL to present the data in sorted order or how
can you get the browser to display the results in neat columns?
Depending upon the question, you either want to use a SELECT query with an
ORDER BY clause or you want to output the result within HTML table tags.
Simon Ritchie
Download my introduction to PHP for $25:
http://merrowinternet.com/downloads?source=ml