<input text> does not work in Firefox inside a php echo

Asked

Viewed 111 times

0

Can you tell me how I can make an input work in firefox? I put it that way inside an echo, but I don’t type anything...?

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>';
  • Are you sure that line of code is being run?

  • it didn’t all come out..

  • in my resulted, which is the local server that you are using?

1 answer

2


Hello,

Missing attribute name='cep' 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>';

Browser other questions tagged

You are not signed in. Login or sign up in order to post.