Hi, I keep getting this parse error, causing me to not be able to access the localhost WAMP home screen. I can access other sub virtual hosts, even phpmyadmin. Just not the main layout. Please help
Here are the error(s):
"[16-Jan-2018 04:39:42 UTC] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Users\tyler\Desktop\HTML\Form Test\index.php on line 21"
"[16-Jan-2018 04:35:30 UTC] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Users\tyler\Desktop\HTML\Form Test\localhost\index.php on line 23"
Lines from index.php respectively:
21:
"$server_software = $_SERVER['SERVER_SOFTWARE'];"
23:
"" (This line is empty)
Thanks!
Here are the error(s):
"[16-Jan-2018 04:39:42 UTC] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Users\tyler\Desktop\HTML\Form Test\index.php on line 21"
"[16-Jan-2018 04:35:30 UTC] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Users\tyler\Desktop\HTML\Form Test\localhost\index.php on line 23"
Lines from index.php respectively:
21:
"$server_software = $_SERVER['SERVER_SOFTWARE'];"
23:
"" (This line is empty)
Thanks!