Copy link to clipboard
Copied
I created a form and connected to the database. However, when I input the data into the form, it does not appear in my database. Also, I am getting the error message below. Thanks for your help.
Warning: require_once(Connections/bridesmaidsrack.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\bridesmaidsrack\groupitems.php on line 1
Fatal error: require_once() [function.require]: Failed opening required 'Connections/bridesmaidsrack.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\bridesmaidsrack\groupitems.php on line 1
Also, is it necessary for me to use a database in conjunction with a form? I was wondering if after the information is populated into a form it can be populated on another page?
Copy link to clipboard
Copied
Have a look here: http://forums.adobe.com/message/2573180#2573180
I hope this helps.
Ben
Copy link to clipboard
Copied
Hi Ben
Thank you for responding to me.
My website has several forms. When I process one of the forms, I get the error message below.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Condition, Length, Color, City, `State`, Email, Photo) VALUES ('29', '4', 'Used'' at line 1.
On another form, I get this message: Incorrect table name ''
Your help is greatly appreciated.
Copy link to clipboard
Copied
Hi Alicia,
I would love to help you but I am getting confused (age related I think). ![]()
Your initial problem is related to not being able to find the file that connects the program to the database.
Warning: require_once(Connections/bridesmaidsrack.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\bridesmaidsrack\groupitems.php on line 1
If this is still a problem please check to make sure that bridesmaidsrack.php is in the Connections directory/folder. Also make sure that it contains the relevant information to connect to the database (server, database name, username and password).
After this problem has been solved we will move on to the next problem.
With reference to your question:
Also, is it necessary for me to use a database in conjunction with a form? I was wondering if after the information is populated into a form it can be populated on another page?
No, this is not necessary though a database makes it easier. If you want to pursue this path then we need to change our strategy.
I hope this helps.
Ben
Copy link to clipboard
Copied
Hi Ben
First let me thank you for your help. I really appreciate it.
I don't think your confusion is coming as a result of age, but instead of me not explaning myself very well.
After posting my original message with the warning and fatal error, I realized that I may have missed the step where I am to insert the form object. After doing that, and then testing the forms I then received an error that read "Incorrect table name " " on one form. For the others, the error message read "You have an error in your SQL snytaz; check the manual that correspondents to your MySQL server version for hte right syntax...
I am no longer receiving the error messages from my original post.
Sorry for the confusion and thanks again for your hlep.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now