3
I put a button on my page to send the registered data to a table in mysql.
<button type="button" class="btn btn-block btn-primary">CADASTRAR</button>
how do I click on the button it makes the operation to register in the table, the examples I find is only with the method
<input type="submit">Cadastrar
I wanted to do with a button that I customized, as I do ?
Thank you
The button you customized is an image? an html element? Ask the question too
– Miguel
is an html element, I used css, that’s all.
– Junior
Use type="Submit" on your button
– Miguel
I’m new to this, the button is created by bootstrap.
– Junior
But change
type="button"
fortype="submit"
– Miguel
I understand I’m going to test here, thank you
– Junior
It worked, thank you :)
– Junior