Hi
HELP!!!
I have read through the manual about using $_POST['name'] to retrieve
data from forms, but what happens when a form element is not filled in
or checked?
If I have a checkbox on a form called chk1 I get an error from PHP
when I try this:
$chk1 = $_POST['chk1']; // error if user
isset($_POST[chk1]) will only be true if the checkbox is checked.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: John-Erik Omland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 09, 2003 6:25 PM
Subject: [PHP] checkboxes, radio
In the php.ini file set error reporting to E_ALL ~E_NOTICE
-- Joseph W. Goff
Seems like register_globals issue has been replaced by error_reporting ;-)
John-Erik Omland wrote:
Hi
HELP!!!
I have read through the manual about using $_POST['name'] to
retrieve data from forms, but what
Hi,
Friday, January 10, 2003, 4:25:00 AM, you wrote:
JEO Hi
JEO HELP!!!
JEO I have read through the manual about using $_POST['name'] to retrieve
JEO data from forms, but what happens when a form element is not filled in
JEO or checked?
JEO If I have a checkbox on a form called chk1 I get an
4 matches
Mail list logo