<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>file</title>
</head>
<body>
<?php
$sx=0;
$fp = fopen("data.txt", "r");
while ($line = fgets($fp)) {
$sx=$sx+1;
$artist[$sx]=$line;
}
print($artist[2]);
fclose($fp);
?>
</body>
</html>
最終更新:2013年12月06日 11:44