regular expressions

Just use the values of the existing site...

The problem: you need to turn the values of an HTML select element into a PHP array, and you don't want to do it by hand because it has a lot of entries.

The solution: regular expressions! (using Eclipse's regex search/replace).

Read more