Re: forms and php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Pashia schreef:
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.

seem?

try the following line at the top of your submit script to see what is posted:

var_dump($_GET, $_POST);


I am hosted at hostgator.com and it has php version 4.4.4 and mySQL version
4.1.22-standard.

Thanks, Mark Pashia



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux