I'm trying to write the full HTML of a form. Since I have a system in which each user can have their individual form of payment, which requires that each record the purchase button code for example, from PagSeguro.
What generates this error when I try to write to MYSQL through an administrative form that I have developed to record these payment codes:
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near 'post'
action='https://www.meu.url/PagamentoSimples.do'>
I've tried using several codes like:
$clientepagseguro = strip_tags($_POST['clientepagseguro']);
Nothing worked out.
HTML:
<form method='post' action='https://www.meu.url/PagamentoSimples.do'>
<input type='hidden' name='id_carteira' value='[email protected]'/>
<input type='hidden' name='valor' value='4000'/>
<input type='hidden' name='nome' value='Site Lucrativo'/>
<input type='image' name='submit' src='https://static.moip.com.br/imgs/buttons/bt_pagar_c01_e04.png' alt='Pagar' border='0' />
</form>
What do I do to solve it?