lÃr, 28 05 2011 kl. 13:32 +0430, skrev Negin Nickparsa: > 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? Hey, You are generating HTML output from PHP! Right? Then why dont you have access to $_POST ??? /Lars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php