Cuando envían datos del formulario de contacto de mi sitio web no se inserta en la base de datos. Aparece un mensaje de error
Ademas todos los formularios creados en mi sitio web no insertan datos a la base de datos. Aparece un mensaje de Error.
Al inicio dichos formulario estaban funcionando muy bien pero paso un tiempo y ya no. Solo aparece el mensaje de error cuando envían el formulario.
TRANSLATION BY MOD:
When they send data from the contact form of my website it is not inserted into the database. An error message appears
Also, all the forms created on my website do not insert data into the database. An Error message appears.
At the beginning, these forms were working very well but some time passed and they no longer. I only get the error message when they submit the form.
Could you please update your code to retrieve the actual error message from the database connection and show it? You can use mysqli_connect_error (for the connection) and mysqli_error (for the queries) to see exactly why your connection/query could not be processed.