Good morning all - I'm getting a little confused on using forms with PHP/HTML... I guess I'm just a little lost on the "proper" way to do things...
I can create a HTML forms page that submits values over to a PHP page to process the results and add them to a database - I have that working (Using PHP/mySQL) However lets say I wanted to created a select list on my HTML page that used rows out of my database to populate the options for the list instead of having to go to the HTML code to add another <option> - To be able to to that my first page (The HTML one) would have to be a PHP page... so .. Should I have a PHPpage with a lot of echo's submitting values over to another PHP page to process it?(is that even possible?)
Thanks - as I said, I'm just a bit confused about when to use php/Jscript/html. I would think I would just use all .php pages so I can process the data as I'm getting it on the form - but I know I'm missing something because Most form pages I go to are HTML, not php, and I know some are using data driven select lists, etc.