Executing php code after sending the form
-
Hello,
I was wondering if it’s possible to execute a PHP code when the user clicks on the submit button of the form.
The code that I need execute is
update_field($field_key, $points, 'user_'. $user_id);
This changes in the bbdd the amount of points that the user have (new field).
Thank you in advance ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Executing php code after sending the form’ is closed to new replies.