First word only appearing in a form text box

前端 未结 3 1184
孤城傲影
孤城傲影 2020-12-11 21:10

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 (

3条回答
  •  无人及你
    2020-12-11 21:55

    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.

提交回复
热议问题