how to use echo checkboxes in php when i don't have access to $_POST
| From: | Negin Nickparsa | Date: | Sat, 28 May 2011 09:02:42 +0000 |
| Subject: | how to use echo checkboxes in php when i don't have access to $_POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-313198@lists.php.net to get a copy of this message | ||
because I echo the checkboxes like this:
if($num>0)
{
echo "<table border=2>";
for($i=0;$i<$num;$i++)
{
$row=mysql_fetch_row($result);
echo "<tr>";
echo"<td><input type='Checkbox' name='p$i' value='yes'
unchecked /></td>";
echo"<td>$row[0]</td>";
echo"</tr>";
}//for
echo"</table>";
}//if
i can't use $_POST because it's not in html
how can i insert my items that are checked into table?