Keypad and LCD help

Thanks for the reply again, however that is the problem in having is getting the key pressed and the values to a global variable and displaying them on the lcd I can get one key on the lcd but when I press another it changes the first key on the lcd but I've scrapped that program and started again with this one