Saving both habtm and hasmany data

2009-07-29 Thread Site Reference
After quite a bit of back and forth, I decided to forge ahead with CakePHP for the first time. I am running into troubles right now trying to get certain data to save properly. The form I am using is attempting to save data to several different models: phones emails profiles businesses The

Database Associations Not Linking Up

2009-05-12 Thread Site Reference
Hey all, I apologize if this is a bit of a newbie question, but I am having trouble getting my database associations to link up...here is what I have: MySQL Tables CREATE TABLE phones ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, profile_id INTEGER UNSIGNED NULL, phone VARCHAR(255)