: I have a newspaper website I'm developing. We have thousands of subscribers and a piece of circulation software that can give us tables of names and numbers we can use for usernames and passwords. I have a simple security script I found online that wants me to format my usernames and passwords like this: : $LOGIN_INFORMATION = array( : 'zubrag' => 'root', : 'test' => 'testpass', : 'admin' => 'passwd' : ); : Is there a way I can take a chunk of names and passwords and use a program to make it format them properly? A program that can be defined to take the first word and put the ' on either side, add a space, add the =>, add another space, etc.? : Anything you can do to help me would be most appreciated. I'm in the dark here. I need someone to point me in the right direction.