Forum Moderators: open

Message Too Old, No Replies

<textarea name? or id?>

         

tonynoriega

8:03 pm on Feb 5, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



when submitting to a MySQL database, what does the query look for from the form fields.... the name value or id?

Demaestro

10:16 pm on Feb 5, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Id's are not submitted along with forms...So only the name and value are used.

If you have a few form items that have the same name the values will be returned in a single array

[edited by: Demaestro at 10:17 pm (utc) on Feb. 5, 2008]

phranque

1:09 am on Feb 6, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



also, there is no protocol i know of to submit a form to a mysql db.

typically the form is submitted to a cgi script which creates the query using form parameters and connects to the mysql db.