Come end of script gives a parse error

From: Date: Sun, 04 May 2003 03:41:43 +0000
Subject: Come end of script gives a parse error
Groups: php.general 
Request: Send a blank email to php-general+get-146322@lists.php.net to get a copy of this message
Below is a snippet from the end of my code I get an error that there is an unexpected $ in /home/c/cfowler/php/write.php on line 152 but Line 152 is at the end of the file. How come can this be? Line Nos in grey 131 if ($fp) { // write input string to the file
     fwrite($fp, $new_data);
     echo "Success";
     echo "<div align=\"center\"><h4><b>New Employee added!</b></h4></div><br />";
     $results = true;
} else { echo "Could Not Write to File"; $results = false; exit; } fclose($fp); ?> 148</body> 149</html> 150 151 152 Thanks in advance Charlie

« previous php.general (#146322) next »