Undefined variable: html
-
Hi,
There is a php notice, that “html” is an undefined variable. That’s because your first line is containing a dot before the equals sign:
$html .= '<img title="' . $alt_text_str . '"';
So you have to remove the dot, to define it in the first line:
$html = '<img title="' . $alt_text_str . '"';
Best regards,
Surbma
- The topic ‘Undefined variable: html’ is closed to new replies.