Why not display the text with the variable code are the gaps?

This problem:
With forms
<form action='test.php?zx=lbgDB52SK23return&p0=$p0&iD=$id' method='post'>
<input name='dosl' style=width:50%;height:34px;font-size:1.3 em;padding-left:8px>

bring in lbgDB52SK23
If I pass the data variable further as one word, everything is OK, but if with spaces, then prints blank.
The problem as I understand it easier, but I in an emphasis do not see.
March 19th 20 at 09:07
2 answers
March 19th 20 at 09:09
The reason for the problem as always was my carelessness.
The solution was the addition of $dosl=urlencode($dosl); in the missing blocks of code.
All right, instead of spaces should be a plus sign - frances_Koch commented on March 19th 20 at 09:12
March 19th 20 at 09:11
Try double quotes instead of single quotes.
Tell me, why write a pointless and ridiculous guesses in the form of an answer? There is a form for comments. Better to shame there. - laurel commented on March 19th 20 at 09:14
@laurel, you forgot to ask. Now corrected :) - Russ.Bei commented on March 19th 20 at 09:17
@Russ.BeiI can see it is a sore subject))))

5c9ddb8ea7ad9451126517.png - rosamond.Boehm commented on March 19th 20 at 09:20
@rosamond.Boehm, there are crawling with cockroaches to complete strangers on a totally unrelated site.

I was most amused that the web monkey is trying to make comments on the systems analyst and sysadmin :) - Russ.Bei commented on March 19th 20 at 09:23
There is unicast in the desert. To meet him a donkey.
Met. The donkey asks:
— Who are you?
Anycast looked like no one near, so he says:
I'm a sysadmin! And who are you?
The donkey looked around - no one sees, and says:
— I'm a horse! - laurel commented on March 19th 20 at 09:26

Find more questions by tags PHP