Mr. Wise:

Most likely, you do not have the short tags ( <? ?> ) enabled.

Try running this again with the tags like this:

<?php echo "And from PHP, 2\n"; ?>

also, please respond with the version of PHP you are running, the server you
are running it with, and the OS they are installed on.

phpZEN
Michael Richardson

-----Original Message-----
From: Michael J Wise [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 5:33 PM
To: Marc Clerc
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] What's a "Parse error"?


Marc Clerc wrote:

> Try that.

Same same.

" Parse error: parse error in /.../mjwise/.../test.php on line 10

And from the system.log,

" [Sun Mar 11 15:28:14 2001] [error] PHP Parse error:  parse error in
/.../mjwise/.../test.php on line 10
" /.../mjwise/.../test.php(10) : Parse error - parse error

The whole file is:

<HTML>
<HEAD>
  <TITLE>PHP 4 Test</TITLE>
</HEAD>

<BODY BGCOLOR="#ffffff">

Hello, world.

<? echo("And from PHP, 2\n"); ?>

</BODY>
</HTML>

Aloha mai Nai`a!
--
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to