Hostboard
11-11-2022, 01:39 PM
Can someone plz show me where the syntax error is.
PHP Syntax Check: Parse error: syntax error, unexpected '" alt="' (T_CONSTANT_ENCAPSED_STRING), expecting ';' or ',' in your code on line 81
echo "<img src="/images/custom/icon.png" alt="Members:"> <font color="#000000">Members:</font><font color="blue"> $mem_count5[total]</font></font> <br />";
Figured it out. Need to use single quotes vs double quotes around the whole statement.
PHP Syntax Check: Parse error: syntax error, unexpected '" alt="' (T_CONSTANT_ENCAPSED_STRING), expecting ';' or ',' in your code on line 81
echo "<img src="/images/custom/icon.png" alt="Members:"> <font color="#000000">Members:</font><font color="blue"> $mem_count5[total]</font></font> <br />";
Figured it out. Need to use single quotes vs double quotes around the whole statement.