⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

submit function for newsletter



sparrowfizow57
  • profile picture
  • Member

Posted 07 September 2013 - 18:35 PM

Hi everyone.

Im a newbie in this crud world and its really easy and super fast to develop something..

but im having slight problem in the some part..

eg im trying to create a site consist of newsletter whereby user insert their email and click the submit button and the action for the form will be the newsletter controller under function submit_newsletter().

The problem here is how can i create the submit function using crud where i want the email that send by the user stored in my db and

i can view it in my backend system??

hope some one can help..

 


davidoster
  • profile picture
  • Member

Posted 07 September 2013 - 22:12 PM

Hello and welcome to the forums [member=sparrowfizow57].

Well what you ask can be achieved with or without Grocery CRUD or actually a combination of CodeIgniter's easiness and Grocery CRUD's power.

If I where you I would use CodeIgniter or just plain PHP to get the Name and email of the people that need to be subscribed and store these values to a table.

Then on the backend system I would just use Grocery CRUD to view/edit these subscriptions.

 

Check here for a simple jQuery based signup form with CI.


sparrowfizow57
  • profile picture
  • Member

Posted 09 September 2013 - 04:59 AM

hi david..

thanx for ur help..

it works..

chill dude.. :)