[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Field names?
Hi,
is it possible to use a variable instead of the "products" constant
in the [db-columns table="products"] ?
I try
[set blabla]products[/set]
[db-columns table=[scratch blabla]]
but it doesn't works
regards
Zsolt
----- Original Message -----
From: "Mike Heins" <mike@valuemedia.com>
To: <interchange-users@icdevgroup.org>
Sent: Thursday, June 13, 2002 6:05 PM
Subject: Re: [ic] Field names?
> Quoting Zsolt (zsolt@eggs.hu):
> > Hi,
> >
> > can anybody help me:
> > how can I get the fields names of a table (database)?
> >
>
> If the UI is in place, it is as simple as:
>
> [db-columns table="products"]
>
> This will always work:
>
> [perl table=products]
> return join " ", $Db{products}->columns();
> [/perl]
>
> --
> Mike Heins
> Perusion -- Expert Interchange Consulting
> phone +1.513.523.7621 <mike@perusion.com>
>
> I have a cop friend who thinks he ought be able to give a new ticket;
> "too dumb for conditions".
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>