Contact form of my website does not insert data

Mi sitio web: ganafacil.rf.gd

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.

The contact form on this website is working fine for me! Note that this is an English speaking forum.

2 Likes

Please write in english…!
And It looks like working fine for me.

Please Share the error also!!! which you are talking about!

2 Likes

Mensaje enviado exitosamente = Message sent successfull

1 Like

Please try clearing your cache. If the information is still not posting to the database, please supply your code.

Thanks!

2 Likes

Sorry. was registration form

Then can you please share the registro.html source code?

Your contact form is using the file “mensaje.php” after contact form submission. Can you please share the contents of this file?

Thanks

  1. How’d you use .html to call the database?
  2. I believe that it is an file extension issue. Should it be .php?
1 Like

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.

2 Likes

Thank you for your answers. I solved the problem. It was to modify the columns of the database were not null

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.