scs Posted August 16, 2006 Share Posted August 16, 2006 Im trying to read a file line by line. I found this premade function and it didnt work. There are functions for read a file different ways. just not line by line. Does any one know a simple way I can do this?thanx ;D zach Link to comment https://forums.phpfreaks.com/topic/17770-reading-file/ Share on other sites More sharing options...
hitman6003 Posted August 16, 2006 Share Posted August 16, 2006 use the file function (http://www.php.net/file).It reads the file into an array, which you can then parse line by line. Link to comment https://forums.phpfreaks.com/topic/17770-reading-file/#findComment-75854 Share on other sites More sharing options...
scs Posted August 16, 2006 Author Share Posted August 16, 2006 thanx! ;D ;D Link to comment https://forums.phpfreaks.com/topic/17770-reading-file/#findComment-75858 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.