Forums

Extracting data from form to use in php

gnash 17 May, 2022
Hi
I have a simple message form with three fields - name, email, message.
How do I extract the email entry to use in php please. the field is email.
Colnem 17 May, 2022
Hi

In end_page (after submit) you can use that:
$varPhp=$this->data("data:email", "default_value");

For example:
$varPhp=$this->data("data:email", "your_email@gmail.com");
gnash 17 May, 2022
Many thanks. I'll try that and post back.
You need to login to be able to post a reply.