Perfect!
I have a hack that will have its own custom settings. Over 50 right now... I want to make it so when the user presses the save button, it updates everything quickly...
I don't want to have to have to add 50+ clean_array_gpc's... If i had something like this for example:
PHP Code:
print_input_row($vbphrase['var_name'], 'var[setting][setting1]', $var['setting']['setting1']);
print_input_row($vbphrase['var_name'], 'var[setting][setting2]', $var['setting']['setting2']);
print_input_row($vbphrase['var_name'], 'var[setting][setting3]', $var['setting']['setting3']);
print_input_row($vbphrase['var_name'], 'var[setting][setting4]', $var['setting']['setting4']);
print_input_row($vbphrase['var_name'], 'var[setting][setting5]', $var['setting']['setting5']);
How would I call all of them eaisly with the clean_array_gpc, and insert them into the database?
A foreach(); maybe?