anonymous No title
No License PHP
2021年05月26日
Copy Clone
<!DOCTYPE html>
<html>
<head>
<title>kadai_1_2 php</title>
</head>
<body>
<?php
$text = "Kadai_1_2 test OK!";
echo "<p>"."$text"."</p>";
echo '<p>Hello World!</p>';
$fp = fopen("saveDoc.txt","w");
fwrite($fp,"$text");
fclose($fp);
?>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>kadai_1_2 php</title>
</head>
<body>
<?php
$text = "Kadai_1_2 test OK!";
echo "<p>"."$text"."</p>";
echo '<p>Hello World!</p>';
$fp = fopen("saveDoc.txt","w");
fwrite($fp,"$text");
fclose($fp);
?>
</body>
</html>
No one still commented. Please first comment.
Output