I have a cake application which has a table named realestate_properties
in its database. I added two columns i.e. latitude
and longitude
to this table.
On the HTML form there are already many fields, I just added the two fields named latitude
and longitude
. Now when I am submitting the data, it's only adding the other fields which are already available. There is no effect on new fields.
Please suggest a good solution. Do I need to define the new column names anywhere in addition to the HTML form and database table?
CakePHP version is 2.4.1