Copy link to clipboard
Copied
I'm in the process of updating a website that was created with Dreamweaver 8 to Dreamweaver 22. This was made necessary due to the newer PHP 7.2 that our web hosting site moved to. The MySQL database connection wouldn't work anymore. It has a data entry form with a List/Menu dropdown select box that is populated from the MySQL database table using a recordset. I was able to fix the PHP database code so I can connect, & populate the recordset, but I'm having a problem finding the List/Menu or equivalent control in Dreamweaver 22. I have looked thru Dreamweaver 22, and searched the internet, but no luck. Can anyone help me with finding a replacement for this form control?
Thanks
It's called a form select list.
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_elem_select
Go to Insert > Form > Select.
But Dreamweaver can't create database records for you. You will need to manually program in MySQLi (improved) or PDO. Otherwise use a 3rd party commercial extension from WebAssist or DMX Zone.
Copy link to clipboard
Copied
See https://www.webassist.com/product/mysqli
Copy link to clipboard
Copied
It's called a form select list.
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_elem_select
Go to Insert > Form > Select.
But Dreamweaver can't create database records for you. You will need to manually program in MySQLi (improved) or PDO. Otherwise use a 3rd party commercial extension from WebAssist or DMX Zone.
Copy link to clipboard
Copied
Thanks Nancy, After looking over the select list, I was able to figure it out. I already had the PHP code to get the recordset I needed. After looking over my old code I saw how to attach it to the select list. Everything works great now. Again, thanks for the help!
Copy link to clipboard
Copied
Glad you got it sorted.