[ic] Field names?

Mike Heins interchange-users@icdevgroup.org
Thu Jun 13 12:06:02 2002


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".