Welcome Guest, Not a member yet? Register   Sign In
newsletter yes or no

i want the option to allow users to be able to receive newsletters. so in there user profile i want it to ask them if they want to receive it or not with the option of yes or no. how would i do this?

[eluser]Craig A Rodway[/eluser]
Add the necessary field to your database users table, and use either a checkbox or a dropdown box for Yes/No. Then code your controller/model to update the database from the choice.

you wouldnt happen to know the code to do this would you. im still pretty new?

[eluser]Derek Allard[/eluser]

Code for generating a form is here.

Code for reading forms is here

Code for how to insert into a db can be found here

awesome thanks!!!

Theme © iAndrew 2016 - Forum software by © MyBB