Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Problem with php forms and xhtml!

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
The "name" attribute is valid within an input tag.
 
0
Close
eagle12 said:
The "name" attribute is valid within an input tag.
ok thanks! :)
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back