Error with link

Hi!

I am a newbie developing a hosted website which uses CentOS Linux v. 6 and PHP v. 5.6.

In my index page, index.php, I have the following statement:

<?php include "topmenu.php"; ?>

The file topmenu.php is listed below:

<?php echo "
Home About Us FAQs Contact Us Privacy/Security Sitemap
"; ?>

Both files are located in the root directory. The website’s index.php displays the following:

Parse error: syntax error, unexpected ‘about’ (T_STRING), expecting ‘,’ or ‘;’ in /home/sywzekoo/public_html/topmenu.php on line 6

What is wrong?

Thank you!

Dr. T

Change the echo quotes to single quotes

Dear Kevin,

Thank you for your reply.

I did not notice the two sets of double quotes. :-[

Dr. T

Sponsor our Newsletter | Privacy Policy | Terms of Service