I am trying to get a simple function to output a different result. For example in this case if the nummber 4 is in the database it will be thursday. I am not quite sure why