Showing posts with label Forms. Show all posts
Showing posts with label Forms. Show all posts

Thursday, January 17, 2013

Submitting Forms: Don't Forget the NAME Attribute...

Just a quick post on something I stumbled across recently... I was submitting a form with several checkboxes and text fields, but no matter what I did on the receiving page, it wasn't getting any values from either POST or GET data. At first I assumed I was doing something wrong in PHP, since I'm new to the language and have been doing forms for many years. It wasn't until I was thoroughly frustrated and finally searched Google for help that I slapped my forehead and had it solved within seconds.  Hopefully, I can give you the same head-slapping moment with less frustration.