PHP uses only the 'name' attribute of an element to assign the variable to.

You can use 'id' and 'name' together, but the two are different, for instance no two form elements should have the same 'id', but depending on multiform pages with similar inputs, an identical 'name' attribute could be used several times without conflict.

For PHP use, you have to use the 'name' attribute, but you've already figured that out.

--
Jason k Larson


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to