[wp-hackers] Need help with: coding new Plugin options

Ozh ozh at planetozh.com
Fri Nov 7 07:58:18 GMT 2008

On Fri, Nov 7, 2008 at 8:22 AM, DD32 <wordpress at dd32.id.au> wrote:
> unless you pass your form along as an array as such:
> <input type="text" name="my-plugin[field-1]" value="" />
> <input type="text" name="my-plugin[field-2]" value="" />
> <input type="text" name="my-plugin-admin[field-1]" value="" />
> would end up with 2 options, 'my-plugin', and 'my-plugin-admin', both being
> arrays, with the keys 'field-xx'

Pretty obvious, why didn't I think about this ? :)
Thanks for the pointer DD

http://planetOzh.com ~ Blog and WordPress Stuff
http://FrenchFragFactory.net ~ Daily Quake News

More information about the wp-hackers mailing list