I need a very simple function, but I could not find anything related in my searches.
I need a function where I can insert items, and then print these items on another page.
Ex:
function funcaoExibe() {
$var = 'none1';
$var = 'email2';
$var = 'telefone3';
echo $var;
}
I created the function, I need to display all the values of the variables inserted inside the function, something like this:
<?= funcaoExibe(); ?>
No resultado aparece somente:
telefone3
I need to display the 3, one on each line.
Any ideas how I can do it?