I got this error message
Undefined variable: x in ../../../../.php on line 35
I get the error on this line.
$x .= $y->getContent();
This line of code is in a foreach
loop.
How do I get rid of the error message.
If I replace the .=
with just =
I'm not getting the correct output.
I hope I provided enough information
And what does .=
do?
Thanks in advance.