[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Field names?
At 12:30 AM 06/14/2002 +0200, you wrote:
>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
Quote your positional parameters:
[db-columns table="[scratch blabla]"]
- Ed L.
>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
> >
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users
===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================