Question related to HABTM has been posted in some good numbers on stackoverflow but I am still looking for a solution to my problem.
I am creating an application that allows for creation of topics based on a particular subcategory. While adding a topic the user is asked for tags (on the same form). Now when the user has finished adding tags to the topic on the click of Add button the topic is successfully added but tags are not.
I have created the join table for both topics and tags as tbl_tags_topics.
(as defined in the conventions of cakephp) and defined the 'hasAndBelongsToMany' array properly in both the models of topics and tags.
What steps am I missing now.?
I have one more question related to this but I will post it when I will be able to send tags related to a topic successfully to the database. (the functionality is similar to that of stackoverflow's tags adding and attaching)
any help is greatly appreciated., also let me know of any good tutorials on HABTM if you find one.
Thanks