I'd make a HTML form, but my friend insert into the <input type="text"> a CSS markup, and it set my background color to pink. lol
How can I avoid this? I need change my SQL INSERT string? There is a way to do this for JS too? Thanks
HTML
<div id="cadastro">
   <fieldset style="border:none;">
     <legend style="text-align:center;">
      <h1>SEJA UM MEMBRO IFBB</h1>
       <p class="sub-legenda">Filie-se e ajude o ifbb ser ainda mais forte.</p>
     </legend>
   <form enctype="multipart/form-data" action="#">
   <input type="text" class="nomeCadastro" placeholder="Nome" required>
        <br>
   <input type="email" class="emailCadastro" placeholder="E-mail" required>
</fieldset></div>
The CSS markup he inserted in <input type="text" class="nomeCadastro">:
<style>background-color:pink;</style>
I'm using PHP 5.