Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Problem with php forms and xhtml!

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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.
GoDaddyGoDaddy
The "name" attribute is valid within an input tag.
 
0
•••
eagle12 said:
The "name" attribute is valid within an input tag.
ok thanks! :)
 
0
•••
Appraise.net

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back