Guys, any clue how to get this done. Even pointing out to some documentation would really help. I am badly stuck here.
-R
On 12/6/08, Raavi Raaj <raaviraaj77@gmail.com> wrote:
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.
没有评论:
发表评论