Passing the return data from {var.php} to custom code php

rmpaolillo 13 Nov, 2017
Hello everyone,

in your FAQ it is well explained that what in CFv5 was $form->data in CFv6 is $this->data.

What if I need to pass the value from a returned value in php say {var.php} back in a custom code?

I mean


<?php
     print_r($this->data['var']['php']);
?>


which of course is not working...

Any idea?

Marco
rmpaolillo 16 Nov, 2017
I found the answer:

<?php
  print_r($this->get("php"));
?>
This topic is locked and no more replies can be posted.