Re: newbie problem - parse error on non-existent line?
| From: | Philip Lindsay | Date: | Wed, 15 Nov 2000 11:27:37 +0000 |
| Subject: | Re: newbie problem - parse error on non-existent line? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25412@lists.php.net to get a copy of this message | ||
> So if your form contains
>
> <input name="stuff" value="">
>
> The PHP variable will be $stuff
>
> Not Form[stuff]
>
> This is probably tripping you up.
>
cheers, this works much better know. incidentally i also found that the
square brackets didn't help and my browser read the file better if the
variable was called form_login rather than form[login]. Weird, I guess must
be a syntax thing...
Anyway, I've hit another problem which has me completely flummoxed - on
another PHP page my browser discovers a parse error on a line which doesn't
exist! It complains of a parse error on line 75 when the page only contains
74 lines of code - eh????
Can anyone explain why this would happen?...
Phil (PHP newbie)