Here is my form:
And this is what the the $_POST looks like after submission:Code:<label for="aId">This is an input box</label><input type="text" value=" " maxlength="40" class="aClass" id="aId" name="affiliate_hoover_plugin_options[aName]"/>
The trouble comes when I'm trying get the code right for a sticky value in another functionCode:Array ( [affiliate_hoover_plugin_options] => Array ( [aName] => Here is a value ) )
As expected this works great if an array isn't used:
So my initial thought was that this would work with arrays, but it doesn't:PHP Code:isset($_POST[$name]) ? print $_POST[$name] : null;
I've tried different variations but the damn value isn't sticking after submissionPHP Code:isset($_POST[$option_name[$name]]) ? print $_POST[$option_name[$name]] : null;



Reply With Quote

Bookmarks