I'm developing a web based information system in PHP. I'm using WAMP server2 and Dreamweaver CS3 for that. I have developed many forms in Dreamweaver and my database is created in WAMP server. I want to connect those forms to the database. I selected Windows > Database from the menu in the Dreamweaver but in the small window that i got on the left hand side in Dreamweaver window the + mark is disabled. If so please tell me how can I connect my form to MySQL database.
Waiting for your kind support.
Thank you so much for your reply.Here is the code of relavant 3 files.
Thank you very much for your reply. That’s kind of you.
The “emp.htm” is the code for a HTML form I want to save the incoming data entered through this form to the following MYSQL database table.
Fields: empNo, Name, Address, Salary
I’m using Dreamweaver for coding and WAMP server for the other relevant works. I created a mySQL connection to the database (hrms). Then a folder called “connections” automatically created inside the folder (folder name is exercise) that I save my php and html files. In the connections folder there is a file called “conn.php”.
I have already created the database ‘hrms’ and the table ‘employee’ in phpmyAdmin.
My problem is even I have done everything correctly, once I enter the values to the fields of the Form and click Save button, it doesn’t save data to the table and getting the message “Error Occurred”
It’s great If you could help me to fix this problem.