Re: Get Names of columns of a table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> is there a PHP function that wil return the names of the columns for a given
> table?

You need to use an SQL function called DESCRIBE

http://www.mysql.com/doc/en/DESCRIBE.html

HTH
-- 
Mike Karthauser 
Managing Director - Brightstorm Ltd

Email       >> mikek@xxxxxxxxxxxxxxxxx
Web         >> http://www.brightstorm.co.uk
Tel         >> 0117 9426653 (office)
               07939 252144 (mobile)

Snailmail   >> Unit 8, 14 King Square,
               Bristol BS2 8JJ

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux