Hi,
I have three tables...
1. article
2. tags
3. article2tags".
The "article2tags" stores a a many-to-many relationship (made up of article_id and tag_id).
While creating/editing an article:
Need some direction/help/sample code to achieve...
1. Save the relationship to the article2tags table when creating a new article
2. Populate form with tags selected (check boxes) when editing the article
3. Insert/Update the "article2tags" on updating the article
All help is appreciated.
regards,
-R
P.S. My tables are MyISAM.
2008年12月6日星期六
订阅:
博文评论 (Atom)
没有评论:
发表评论