PHP速学教程(入门到精通)
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
The fscanf() function parses input from an open file according to a specified format. It returns the values parsed as an array, if only two parameters were passed.
fscanf(file_pointer, format, mixed)
file_pointer − A file system pointer resource created using fopen().
format − Specify the format. Here are the values:
mixed − Specify the assigned values. Optional.
The fscanf() function returns the values parsed as an array, if only two parameters were passed.
<?php $file_pointer = fopen("new.txt", "r"); while ($playerrank = fscanf($handle, "%s\t%d</p><p>")) { list ($name, $rank) = $playerrank; echo “$name got rank $rank.”; } fclose($file_pointer); ?></p>
Amit got rank 2
php免费学习视频:立即学习
踏上前端学习之旅,开启通往精通之路!从前端基础到项目实战,循序渐进,一步一个脚印,迈向巅峰!
已抢7336个
抢已抢95473个
抢已抢14936个
抢已抢52722个
抢已抢195929个
抢已抢87510个
抢