Yes, I am coding on New Year\'s eve. Anyway, I have what I think is a strange problem (strange enough to need help). The following code works (sort of). The echo on line 6 (
Your code outputs:
and it should be:
Change:
to:
Since the value is not in quotes - it picks only the first string! You should do the same with the other inputs.