get from forms buttons |
Post Reply |
Author | |
tonytynkkynen
Newbie Joined: Jun 19 2017 Location: sweden Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: Jun 19 2017 at 5:31pm |
how to get from forms buttons with php script
Edited by tonytynkkynen - Jun 20 2017 at 8:25am |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
Hi,
Please clarify your question, it is incomprehensible. |
|
tonytynkkynen
Newbie Joined: Jun 19 2017 Location: sweden Status: Offline Points: 3 |
Post Options
Thanks(0)
|
use php commands after press on form button
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
First of all, note that PHP executes on the server, unlike JavaScript that you execute directly in the browser "on the fly". So you should either load a page (same or another), or use Ajax and process the response.
In OE, the Submit Form element is usually used to process the user data. You should manually code your PHP processing, for example in a Code Block (Source) type PHP position Header (or StartDocument or another position depending on what you want to do). To test, you can use the following code:
which will output the form content and stop execution if there's any content sent. Edited by Dmit OE - Jun 25 2017 at 11:25am |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |