Hello again,
I am still working on the project I posted about a couple weeks ago. I'm at the point now where I need to apply a mathematical formula from multiple entries on an HTML form that saves the data to a MySQL database via PHP.
There is no PHP code in the form, all data is saved to the database using the submit to execute PHP script.
I want this to redo the formula each time any of the numerical values in the form change or a if one of 15 checkboxes change. I imagine Javascript is the best way to go to do this using onChange. My question is, how can I assign HTML textbox values to a variable and also set a variable if any of the 15 checkboxes are checked or unchecked? I imagine I'm going to have to use PHP in the HTML form?
Thanks in advance
I am still working on the project I posted about a couple weeks ago. I'm at the point now where I need to apply a mathematical formula from multiple entries on an HTML form that saves the data to a MySQL database via PHP.
There is no PHP code in the form, all data is saved to the database using the submit to execute PHP script.
I want this to redo the formula each time any of the numerical values in the form change or a if one of 15 checkboxes change. I imagine Javascript is the best way to go to do this using onChange. My question is, how can I assign HTML textbox values to a variable and also set a variable if any of the 15 checkboxes are checked or unchecked? I imagine I'm going to have to use PHP in the HTML form?
Thanks in advance





