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 :)
In reply to Re: Relation between tables
by McDarren
in thread Relation between tables
by Ace128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |