Re: [PHP] column names

2001-04-05 Thread Mauricio Junqueira
Steve Werby wrote: > "Tim Ward" <[EMAIL PROTECTED]> wrote: >> SHOW COLUMNS FROM tablename >> is the MySQL query > > That works well from the MySQL commandline, but isn't as useful from > within a PHP script if Mauricio wants to control the formatting of it, > limit the > fields displayed and use

Re: [PHP] column names

2001-04-05 Thread Steve Werby
"Tim Ward" <[EMAIL PROTECTED]> wrote: > SHOW COLUMNS FROM tablename > is the MySQL query That works well from the MySQL commandline, but isn't as useful from within a PHP script if Mauricio wants to control the formatting of it, limit the fields displayed and use it within the logic of the PHP sc

RE: [PHP] column names

2001-04-05 Thread Tim Ward
TECTED]] > Sent: 03 April 2001 23:59 > To: [EMAIL PROTECTED]; Mauricio Junqueira > Subject: Re: [PHP] column names > > > "Mauricio Junqueira" <[EMAIL PROTECTED]> wrote: > > does anyone knows how to retrive information about the > columns names of a &g

Re: [PHP] column names

2001-04-03 Thread Steve Werby
"Mauricio Junqueira" <[EMAIL PROTECTED]> wrote: > does anyone knows how to retrive information about the columns names of a > table? In MySQL use mysql_field_name(), in PostgreSQL use pg_fieldname(). > I know that is possible to use show table mytable using isql but > I need to get information a