QUESTION IMAGE
Question
when submitting data from a form to a database using a cgi script, which attribute organizes information input by the user into name=value pairs?
form
value
name
method
The name attribute is assigned to form input elements; when the form is submitted via CGI, it pairs with the user's input (the value of the element) to create name=value pairs that are sent to the script/database. The form is the parent element, value is the user input data, and method defines how data is sent (GET/POST), not the pairing itself.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
name