I’m developing a plugin, it have a form into modal boostrap to the user puts data.
When I do click to save, it’s return to the same page, and I need to get the info. It’s look like…
<form>
<input class="form-control" type="any" id="compraTC" style="margin-left:5px" placeholder="0.0000" required>
<button type="submit" class="btn btn-primary" id="btnGuardarTC">Guardar Cambios</button>
</form>
if(isset($_POST['btnGuardarTC'])) { echo $_POST['compraTC']; } else echo "no hay retorno";
I can’t get the new values. Could you help me, please?
Greetings!
Solution! I need to develop more plugins!
New contributor
Daniel Manchego is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.