in reply to Insert Element Into Array

Related to this?
Btw, you could split $line on comma and use the required fields.