Add exams from exam58 to exam98

This commit is contained in:
2024-05-08 13:49:37 +02:00
parent 1bfdab1994
commit 4fd956ddac
39 changed files with 481 additions and 0 deletions

17
exam77/file2.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
$filename = 'names.txt';
$handle = fopen($filename, 'r');
$datain = fread($handle, filesize($filename));
$names_array = explode(",", $datain);
foreach($names_array as $name){
echo $name . '<br>';
}
$string = implode(":", $names_array);
?>