Dynadot โ€” .com Transfer

Problem with php forms and xhtml!

SpaceshipSpaceship
Watch

PoorDoggie

Soon to be RICHdoggie!VIP Member
Impact
18
In xhtml you can't use the "name" attribute, but that provides the problem that when a form is posted to a php page you can't call that field using "$_POST['field_id']" when the field is used like this: "<input id="field_id" />"

How would I call a field using its id instead of its "name"?

Thanks
Tom
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
The "name" attribute is valid within an input tag.
 
0
•••
eagle12 said:
The "name" attribute is valid within an input tag.
ok thanks! :)
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back