in reply to References of Eternal Peril
Your code is a marvelous example of the danger of such approaches. Your code could easily break if someone were to add to the database a column that has the same name as an existing variable in your program!
I agree with the first replier: If spelling out your variable names is too tedious (and it probably would be too tedious for me), use hashes. That's what they're for. And they can have nice short names.
-- Chip Salzenberg, Free-Floating Agent of Chaos
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: You can't get there from here....
by tilly (Archbishop) on Aug 11, 2000 at 05:40 UTC | |
by chip (Curate) on Aug 11, 2000 at 06:17 UTC | |
by mwp (Hermit) on Aug 11, 2000 at 21:22 UTC | |
by chromatic (Archbishop) on Aug 12, 2000 at 00:08 UTC | |
by mwp (Hermit) on Aug 12, 2000 at 00:28 UTC | |
| |
by tilly (Archbishop) on Aug 11, 2000 at 15:45 UTC | |
by merlyn (Sage) on Aug 11, 2000 at 05:59 UTC | |
|
RE: You can't get there from here....
by mwp (Hermit) on Aug 12, 2000 at 02:33 UTC |