PDA

View Full Version : PHP Syntax Check: Parse error:


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:">&nbsp;<font color="#000000">Members:</font><font color="blue">&nbsp;$mem_count5[total]</font></font>&nbsp;&nbsp;&nbsp;<br />";


Figured it out. Need to use single quotes vs double quotes around the whole statement.

Hostboard
12-06-2022, 04:13 PM
Figured it out.