mallxlolli Posted August 8, 2009 Share Posted August 8, 2009 I am a first time PHP user and I am just trying out a code that has been suggested to me to display a webpage. I keep getting this error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/vibrante/public_html/hello.php on line 47 The line of coding is: <div class='header'>Click</div><br> I am using <?php echo " content here "; ?> I have used the semi-colon at the end, and put apostrophes instead of quotation marks. I have tried quotation marks and slashing, but it is still not working. The same sort of code for other divs on the page and they work fine. My host supports PHP, but I am currently not using MySql, I am not currently worried about any other errors I may have at the moment. Can anyone help me with this? Link to comment https://forums.phpfreaks.com/topic/169301-echo-code-error-can-you-help/ Share on other sites More sharing options...
smerny Posted August 8, 2009 Share Posted August 8, 2009 check like 46, it's probably missing a semi-colon Link to comment https://forums.phpfreaks.com/topic/169301-echo-code-error-can-you-help/#findComment-893399 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.