PHP program language parse error

Asked By 20 points N/A Posted on -


I am using PHP program language and trying to add some code but the following error displays.

How can I fix this error message without having any issue?

I would greatly appreciate your assistance so please provide proper solution.

Thanks in advance.

PHP Parse error: parse error, expecting “)” in index.php on line 63.


Answered By 0 points N/A #176760

PHP program language parse error


What exactly was the code ? Were you trying to put banner or something ? Never echo out directly from the phpinclude template; rather assign your output to a variable, and then that variable can be used in any other template you want. If that solves the problem then fine. Else if you enclose $mangubat assuming this to be the variable you are talking about inside the tags like this : <div id="banner>$mangubat</div> , this might also help.

Related Questions