Ok, I just made a PHP form mailer that you can call up while browsing a list of employees. When you click on a name, it sends their real name to the script, and the PHP matches their name up to their email address. It's to keep spambots from harvesting the email list.
Anyway, it works well, except the code is awful looking. Right now, I have: if ($name == Joe Smith) { $email = jsmith@wherever.com }
I have one of those for each person, and it seems so clunky. Does PHP have an easy way to do a table, so I can have a column of names, and a column of corresponding addresses, so I can just search the list and find the address?