I made a form that sends data from a php page to a database, and only the unencrypted data is being sent; if I put an accent, nothing in that field arrives in the database, not even something blank.
Thanks in advance for any help
Code snippet:
<textarea cols=\'20\' rows=\'10\' name=\'text\'></textarea>
<input type="submit" value="Enviar" name="enviar">
if(isset($_POST['enviar'])){
$teste2 = $_POST['text'];
mysql_query("INSERT INTO 'testes'('texto') VALUES ('".$teste2."');