in reply to Relation between tables
The answer is basically yes. Get rid of the redundancy and use table joins to construct your queries. I'd suggest naming the foriegn key field in the plugin table "core_id" rather than "id_ref", so that's it's absolutely clear what it refers to.
Also, don't forget to use placeholders when you construct your queries in Perl.
Cheers,
Darren :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Relation between tables
by Ace128 (Hermit) on Jan 11, 2006 at 07:35 UTC | |
by McDarren (Abbot) on Jan 11, 2006 at 07:58 UTC |