Since we don't know what are: $notch_member and $bio, you should print them, that maybe it! ;) A+ Alain
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 7:08 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re:[PHP-WIN] parse error 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, [EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 5:53 PM > To: [EMAIL PROTECTED] > 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); > ?> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php