[PHP] sort results into two columns
hi, how can i sort data from mysql into two columns. Thanks. eg: link1linka link linke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] sort results into two columns
how can i sort data from mysql into two columns. Thanks. eg: link1linka 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] sort results into two columns
!-- begin Wise crack -- table tr tdlink1/tdtdlinka/td /tr tr tdlink/tdtdlinke/td /tr /table !-- end wise crack -- I suppose an example of the sql query you attempting to use and perhaps an idea of how your db is structured would help a little.. ;-) -Original Message- From: kompresor [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 10:23 AM To: [EMAIL PROTECTED] Subject: [PHP] sort results into two columns hi, how can i sort data from mysql into two columns. Thanks. eg: link1linka link linke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php