-2
누군가 내 코드를 검사 할 수 있습니까? 문제가 무엇인지 알 수 있습니까? 코드를 실행할 때마다 제목에 오류가 발생합니다.구문 오류, 예기치 않은 'fwrite'(T_STRING)
<?php
$file = "newfile.txt";
$text = "This is a text line. ";
$handle = fopen($file, "w");
fwrite($handle, $text);
fclose($handle);
$handle = fopen($file, "a");
$text = "Here are more text lines to insert."
fwrite($handle, $text);
fclose($handle);
include ($file);
?>