There is this text file with around 80,000 words, all in lower case, in alphabetical order. How do I read these words into associated arrays? I mean, words starting with 'a' go into $words, those with 'b' into $words and so on.. The array should become something like
$words[0], $words[1], $words[2],....,$words[0], $words[1], $words[2],...
absk 0 Newbie Poster
Menster 38 Junior Poster
absk 0 Newbie Poster
Menster 38 Junior Poster
absk 0 Newbie Poster
Menster 38 Junior Poster
kireol 10 Posting Whiz
ShawnCplus 456 Code Monkey Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.