Re: [PHP-DB] retrieving field names in ascending order

2005-09-13 Thread graeme_foster
er the SHOW COLUMNS from TABLE Yo could pass the results to an array and sort it in the array Bastien From: [EMAIL PROTECTED] (hope) To: php-db@lists.php.net Subject: [PHP-DB] retrieving field names in ascending order Date: Thu, 08 Sep 2005 04:23:31 -0400 hi how can i retrieve fie

RE: [PHP-DB] retrieving field names in ascending order

2005-09-10 Thread ziv gabel
age- From: hope [mailto:[EMAIL PROTECTED] Sent: Saturday, September 10, 2005 7:44 AM To: php-db@lists.php.net Subject: Re: [PHP-DB] retrieving field names in ascending order Well now i m retrieving results into an array Then i m using sort($myarray) but the problem is that it sorts in this way (

Re: [PHP-DB] retrieving field names in ascending order

2005-09-09 Thread hope
y and sort it in the array Bastien From: [EMAIL PROTECTED] (hope) To: php-db@lists.php.net Subject: [PHP-DB] retrieving field names in ascending order Date: Thu, 08 Sep 2005 04:23:31 -0400 hi how can i retrieve field names from a table(e.g products_attributes) in ascending order??? i ne

RE: [PHP-DB] retrieving field names in ascending order

2005-09-08 Thread Bastien Koert
AFAIK you can't order the SHOW COLUMNS from TABLE Yo could pass the results to an array and sort it in the array Bastien From: [EMAIL PROTECTED] (hope) To: php-db@lists.php.net Subject: [PHP-DB] retrieving field names in ascending order Date: Thu, 08 Sep 2005 04:23:31 -0400 hi how

Re: [PHP-DB] retrieving field names in ascending order

2005-09-08 Thread Pablo M. Rivas
Hello Hope: On 9/8/05, hope <[EMAIL PROTECTED]> wrote: > how can i retrieve field names from a table(e.g products_attributes) > in ascending order??? > i need to display each of the fieldnames alongwith its datatype and length > on the page. I suppose you use Mysql: $result=mysql_query("SHOW COL

[PHP-DB] retrieving field names in ascending order

2005-09-08 Thread hope
hi how can i retrieve field names from a table(e.g products_attributes) in ascending order??? i need to display each of the fieldnames alongwith its datatype and length on the page. regards hope -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/