Simple T9 mobile input implementation with PHP