Re: how to use echo checkboxes in php when i don't have access to $_POST
| From: | Negin Nickparsa | Date: | Sat, 28 May 2011 13:03:58 +0000 |
| Subject: | Re: how to use echo checkboxes in php when i don't have access to $_POST | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313209@lists.php.net to get a copy of this message | ||
I'm sorry that I disturbed you and the List,I tried hard to mind my
punctuations but my English has weaknesses you can understand from my
posts,one time I apologized......
No my problem is not with these punctuations i know them
I said for example,I mean in general
suppose that i have this SIMPLE code:
<?php
echo"<input type='Checkbox' name='negin' value='yes' checked
/>";
echo $_POST['negin'];
?>
<html>
<head>
<body>
<form method="post">
</form>
</body>
</head>
</html>
error is this:
Undefined index: negin in *D:\phpweb\negin2.php* on line *4*
*
*
*how can I correct this?*