Forums

How to get variable

rslyra 27 Sep, 2020
I had a form and the debug below.
What I need is simple, to get the variables values. Which one is the right option?



echo $forms->chronoform;
echo $data->chronoform;
echo $var->chronoform;
echo $var['chronoform'];
echo $this->chronoform;
echo $this->get("chronoform", 'value');
echo $this->get("chronoform", value);
echo $this->get("chronoform");


DEBUG

Array
(
    [option] => com_chronoforms6
    [chronoform] => bases
    [id] => 422
    [rot] => https://cat.conhecimentopublico.com.br/bases
    [filtro] => 1
    [pes] => 245
    [Itemid] => 
)
Max_admin 28 Sep, 2020
you mean to get a reqquest parameter value ? use $this->data("name")
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.