Trying to get form results to save to...
Hi. I have created a form and tested it (without setting it to save to a database) and it works. Now I want my form results to save to an SQL database. So I completed that section under the STORING RESULTS in settings. But now I get this error after completing the form and clicking SUBMIT:
=====
Your form could not be submitted for the following reason(s):
Warning: [ err 2/line 74/datasavemysql.cls.php] PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Failed to open database [2002] SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known.
======
Any ideas what I did wrong. I created a database on the server but did not create a table. I did include a table name in the Table name field in STORING RESULTS.
Any help appreciated.
=====
Your form could not be submitted for the following reason(s):
Warning: [ err 2/line 74/datasavemysql.cls.php] PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Failed to open database [2002] SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known.
======
Any ideas what I did wrong. I created a database on the server but did not create a table. I did include a table name in the Table name field in STORING RESULTS.
Any help appreciated.
Hi David,
What did you enter for your server?
What did you enter for your server?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It looks to me like the form is not connecting with the database. You may want to double check your database settings in WFB.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.
Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.
Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
You were correct. Thanks. I've got it fixed now. I do have another question but will create a new post.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.