This is the error message I get and I know next to nothing about what this means:

Parse error: parse error, unexpected T_STRING in /hsphere/local/home/oldsoppl/preserveourcorpsmemories.com/ecommerce/os/catalog/includes/languages/english/privacy.php on line 39

Here is the script:

<?php
/*
$Id: privacy.php,v 1.1 2004/08/25 23:11:33 akhan Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2002 osCommerce

Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Privacy Notice');
define('HEADING_TITLE', 'Privacy Notice');

define('TEXT_INFORMATION', '<p><strong>Privacy Policy Statement</strong></p>
<p>PRESERVE OUR CORPS MEMORIES considers your privacy a high priority. This privacy statement
explains what information PRESERVE OUR CORPS MEMORIES gathers from you through our
web site and how we may use it. We invite you to contact us if you have
questions about this policy. You may contact us by mail at the
following address: </p>
<p>PRESERVE OUR CORPS MEMORIES <br>
c/o Glenn Weber <br>
4732 Courtland Lane, Carmichael, CA 95608</font><br>
US </p>
<p>You may contact us by filling out our feedback form. </p>
<p>The
only individualized information that PRESERVE OUR CORPS MEMORIES obtains about you
through our web site is information you voluntarily supply. We will
only use that information to fulfill the purpose for which it was
supplied to us. </p>
<p>PRESERVE OUR CORPS MEMORIES obtains
non-individualized, generic information about your visit to our web
site through the use of cookies. Cookies are small pieces of data which
are sent by a web site to your web browser and are stored on your
computer. Data derived from the cookies is aggregated and used by
PRESERVE OUR CORPS MEMORIES for statistical tracking purposes. We use this
information to understand general traffic patterns on our web site and
to gauge and improve the web site's effectiveness. The data is not used
for individual identification and PRESERVE OUR CORPS MEMORIES in no way relates
your personal information to these traffic pattern statistics. </p>
<p>If
you are concerned about the use of cookies, you may configure your web
browser to either request your specific acceptance of a cookie or
disable cookies entirely. You will still be able to fully navigate our
web site if you choose to refuse or disable cookies. <br>
</p>');
?>

Please help a newbie get this up and working.

Glenn55

I've no idea how you're going to use this code in your full script, but if you take out the ' in 'site's' it doesn't error any more.

If you want that character in your text strings you're going to have to escape it.

Use \' instead of just the '. That doesn't error, either.

Should have known that but didn't see the site's. Thanks.

Glenn

Unexpected T_String usually means syntax error somewhere ;)

And usually nowhere near the line number it reports :rolleyes:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.