For MySQL, see mysql_num_fields() and mysql_fetch_field() at 
http://www.php.net

HTH

Bogdan

Casey Allen Shobe wrote:

>How can I get the column headers from a query?
>
>For example, on a 'select blah, blah2, blah3, something as blah4 from 
>whereever', I would want the blah, blah2, blah3, blah4, preferably in an 
>array.
>
>Thanks,
>
>  
>



Mail scanat cu RAV Antivirus!

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

Reply via email to