0
I am mounting an application that executes a function with its own name In case the Contact page would have to perform the Contactoctl() function only it is in a $method variable. How would I perform this function?
$ctlclass = 'Contato';
$metodo = $ctlclass.'Ctl()';
$this->$metodo;
ABOVE CODE RETURNS THE FOLLOWING ERROR:
Fatal error: Uncaught Error: Using $this when not in Object context in C: xampp htdocs Aplication Contato.php
I figured this could be the problem, only how I would perform the Contactoctl function() ?
– Gabr13l_Alm31da