Forums

Add new field to database save

modernmagic 25 May, 2016
I have added a new text box field to a form and need it to also save to the same DB from now on.

How do I add a field to an existing DB?
GreyHead 25 May, 2016
Hi modernmagic,

I would use PHPMyAdmin to add an extra column with the same name as the new form input. If it is a textarea then make the column Type TEXT.

Bob
modernmagic 25 May, 2016
thank you, that worked.

I also noticed that the names of the columns for Address and Zip do not match and are not getting recorded.

How to I get these 2 to work again?
modernmagic 25 May, 2016
I figured it out. Just add those columns to the DB view.
This topic is locked and no more replies can be posted.