How would i go about making a function to save email subscribers? I want a form on a page where you enter your name and email adress and then you store it in the database. Thanks!
I would just store it in dynamic data store. There's an excellent tech-note on DDS, make sure to also check out the examples.
Take a look there first, I can also post some examples if you want.
Why not just use an xform for this functionality ?
The XForm approach has some advantages but looping and removing data is ugly. It's also a bit ugly to extend if what you need to add should be invisible in the public form.
Much nicer to store POCO's in the DDS in that respect.