input text does not work in Firefox inside an echo in php [closed]

0

Can you tell me how I can make an input work in firefox? I put it that way into an echo, but it does not type anything ... what can it be?

echo '<fieldset>';
echo '<input id="name" type="text" class="form-control join-form" placeholder="Insira aqui o seu CEP">';
echo '</fieldset>';
echo '<font size="5" color="black"><span>* Digitar somente números no CEP</span></font>';
echo '<br />';
echo '<span id="value"></span>';
    
asked by anonymous 07.05.2016 / 17:46

1 answer

2

Hello,

The name = 'cep' attribute is missing for POST to be recognized.

For example:

echo '<fieldset>';
echo '<input id="cep" name="cep" type="text" class="form-control join-form" placeholder="Insira aqui o seu CEP">';
echo '</fieldset>';
echo '<font size="5" color="black"><span>* Digitar somente números no CEP</span></font>';
echo '<br />';
echo '<span id="value"></span>';
    
21.05.2016 / 19:59