On Sun, Feb 24, 2008 at 1:53 PM, hE <[EMAIL PROTECTED]> wrote:
> hi to all,
>  I set up phptriad on my computer running windows xp. When I tried to
>  test php with the following program I got an error "Parse error: parse
>  error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10"

    This is line 10:

>  echo "This is a PHP line";

    Note the quotes you're using.... instead of any kind of fancy
quotes, just use double quotes (which will allow you to translate
$variables and special characters like \n) or single quotes (which use
the literal form: $variable is not translated, but would echo as
$variable and \n would not echo a newline, but rather the literal \n).

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to