Re:parse error
| From: | ChaoticWorks at cs dot com | Date: | Thu, 14 Mar 2002 03:08:09 +0000 |
| Subject: | Re:parse error | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12619@lists.php.net to get a copy of this message | ||
i fixed that....i feel stupid for missing that....but i still get the error
even after i fixed that
In a message dated 3/13/2002 9:01:59 PM Central Standard Time,
alain@sonic.net writes:
> I suppose that line 28 is:
>
> if (!fp) die ("Cannot open file for writing. Please contact me.");
> |___ You forgot the $ char for $fp
>
> A+
> Alain
>
> -----Original Message-----
> From: ChaoticWorks@cs.com [mailto:ChaoticWorks@cs.com]
> Sent: Wednesday, March 13, 2002 5:53 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] parse error
>
>
> how come whenever i run this code i get a error that says
>
> "Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
> c:\phpdev\www\public\notch\bioupdate.php on line 28
>
> Parse error: parse error in c:\phpdev\www\public\notch\bioupdate.php on line
> 28"
>
>
> <?php
> $fp = fopen("./notch/" . $notch_member . ".txt", "r+");
> if (!fp) die ("Cannot open file for writing. Please contact me.");
> fwrite($fp, $notch_member . $bio);
> ?>