Skip to content
Advertisement

passing values from selected option in form

JavaScript

how do I pass in value from selected option from to insert query in this code here. i have using row[] but the value is not passing on in the from to my insert query when I selected. in past i have tried POST[‘id’] but it select the same value as the id before.

Advertisement

Answer

Try changing line

JavaScript

to

JavaScript

$row[‘product’] doesn’t exist – try changing the beginning of your php code to

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement