Re: forms and php

From: Date: Thu, 24 Jan 2008 17:37:14 +0000
Subject: Re: forms and php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-268015@lists.php.net to get a copy of this message
Some older browsers didn't send along the button name/value when you hit enter, for a one-button form... But I've never heard of one that failed to send anything at all... It's almost for sure a browser issue though -- PHP doesn't really *do* anything with the data it gets. It just stuffs it into $_POST / $_GET Ah. Did you remember to use method="post" in your FORM tag?... :-) On Thu, January 24, 2008 2:34 am, Mark Pashia wrote: > I am fairly new to the php/mySQL combo and just noticed an unusual > behavior > and don't know where to find the answer to fix this. It is probably > common > knowledge, but not to a newbie. > > > > If I fill in the fields of a form and hit the "enter" key to submit > the > form, no variables seem to be passed along. If I use the submit > button, > everything works perfectly. It seems that other forms on the web work > with > the enter key just fine, so I am probably doing something to cause > this yet > I don't know what. > > > > I am hosted at hostgator.com and it has php version 4.4.4 and mySQL > version > 4.1.22-standard. > > > > Thanks, Mark Pashia > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#268015) next »