In realtà al momento è solo un semplice:
e me lo dà sempre quando invio caratteri accentati, se invece invio le entità, ciò non avviene.codice:Bad Request Your browser sent a request that this server could not understand.
Quindi torno alla domanda: forse è un problema di charset della tabella nel db?
Se utilizzo prima di mysqli_real_escape_string() la htmlentities() secondo te, risolvo il problema?
Codice PHP:
mysqli_real_escape_string(htmlentities($_REQUEST[$variabile]))