You guys will find this easy...

From: Date: Tue, 05 Dec 2000 07:53:47 +0000
Subject: You guys will find this easy...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28697@lists.php.net to get a copy of this message
This is a real newbie question, but it has me a bit stuck... I have a large number of text files in this format... Line 1: ID number Line 2: email addy Line 3: website url The files are named as the username, eg bob.user. What I want to do is sort the files by the id number so I can load the info into a mysql db, which obviously involves looping through all the files and checking the id number on the first line. I've been messing with this for a while now and can't seem to get it right. Any help very welcome, and thanks. Steve

« previous php.general (#28697) next »