View Single Post
Old 06-09-2022, 12:54 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,057
Quote:
Originally Posted by Publisher Bucks View Post
How would I go about transfering the dropdown option to the SQL query? JavaScript or?
You do it like any other form processing. Your "<select>" is the html element for a dropdown.

When the form is submitted you capture the POST or GET corresponding to the "select" element. Then you use that value in your query.

Quote:
Originally Posted by Publisher Bucks View Post
Sorry, one more question about the total_amount... If a row has -1 would that be taken into account when the code collates the total or, will that just do individual columns?

(does that make sense?)

That does not make sense to me, not sure what you are asking.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote