Working on a wordpress administration form. I need it to go to options.php to update the database options there, but I also need to populate Resource objects within other functions as well. How would I go about doing both actions on the same submit button?
<form name=adminForm method="post" action="options.php" onsubmit="UpdateResources.php">
The above is what I'm currently using, but it does not look like I am actually calling UpdateResources.php correctly, because when I go to the output side of the script, I am getting null objects for what is supposed to be created within UpdateResources.php.