pippo67 Posted December 28, 2017 Share Posted December 28, 2017 Hello, I created a small form front office with an input field and a button. I'm trying to update the value my friend in the configuration table with the value entered in my input field. I tried these instructions, but the value is not updated. Where am I doing wrong? This is the coide of the myfirstmodule.php file that should update the text my friend public function changeValue( { $result = isset($_POST['text']) ? $_POST '[text'] : ””; Configuration::updateValue('MYMODULE_NAME', $result); } Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now