Interesting that it's the same variable on both lines. The second error would not show untill the first disappeared. Would you have copied and pasted some of the line? I'm still for retyping the lines in case there's something odd lurking in there and not visible.

[EMAIL PROTECTED] wrote:
By "comment[ing] out line 11", I take it you mean making a comment of line
11. I just did--as this problem woke me from a night's sleep at just past
2:30 AM--and the error message is now:

Parse error: parse error, unexpected $ in [path to file] on line 19

Where will this end?

Steve

Original Message:
-----------------
From: Olwen Williams [EMAIL PROTECTED]
Date: Sat, 27 Dec 2003 18:25:00 +1300
To: [EMAIL PROTECTED]
Subject: Re: [PHP] How New Is <<<HERE?


Comment out line 11 to checkj it's the cause of the proble. If the error goes away then retype the line. I just tested this code and got no errors. It could be a character that is not what it seems.


[EMAIL PROTECTED] wrote:


Cesar,

Sorry to have taken so long to answer. My day got complicated. Anyway,
here's  the code all over again, with the last changes I was advised to
make. I took out the line spaces and added line numbers. But first, the
latest error message:

  Parse error: parse error, unexpected T_VARIABLE in [path to file] on
line 11

The code:

1 <html>
2 <head>
3 <title>
4 persistence demo
5 </title>
6 </head>
7 <body>
8 <h1>Persistence Demo</h1>
9 <form>
10 <?php
11 $txtBoxCounter = $_POST['txtBoxCounter'];



--
Olwen Williams
See my B&B site
http://www.bandbclub.com
and my new site http://www.handyman.co.nz - A virtual shed for real kiwi blokes.


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



Reply via email to