Re: [PHP] alternative to mysql_field_name()

2004-09-22 Thread Marek Kilimajer
Luke wrote: hi there, i am currently using the following code to loop through the results of a sql query and extract the field names ($export contains the query results from the database). the script goes on to place the results in an excel file. for ($i = 0; $i < $fields; $i++) { $header .= my

Re: [PHP] alternative to mysql_field_name()

2004-09-21 Thread Andrew Kreps
On Tue, 21 Sep 2004 22:01:02 +0100, Luke <[EMAIL PROTECTED]> wrote: > however, i'd like to add more meaningful names as the field name > headings in the excel file. can anyone suggest how i can write a list of > tab separated headings into $header? > If you're talking about hard coding the header

[PHP] alternative to mysql_field_name()

2004-09-21 Thread Luke
hi there, i am currently using the following code to loop through the results of a sql query and extract the field names ($export contains the query results from the database). the script goes on to place the results in an excel file. for ($i = 0; $i < $fields; $i++) { $header .= mysql_field_