>>>>> "TG" == Troy Grady <troy@stripped> writes:
TG> The trouble is that I'm writing generic functions (in PHP) that
TG> will operate on tables without knowing the names of the exact
TG> columns present or the number of columns present (outside of
TG> certain default columns, like ID, for example, which will be
TG> present in all the tables). In one case I'd like a
Then the only right thing to do is ask the database what the columns
are for that table, and pick the ones you want. Then generate the SQL
command based on those column names.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@stripped Rockville, MD +1-301-545-6996
PGP & MIME spoken here http://www.kciLink.com/home/khera/