קטע מהקוד:
PHP קוד:
$count = 1;
echo <<<eof
<FORM method="POST" action="mail.php?act=send">
<table border=0 align="center" dir="rtl"><tr>
<td align=center>הוסף לשליחה</td>
<td align=center>קוד מזהה</td>
<td align=center>שם הלקוח</td>
</tr>
eof;
include ("connect.php");
$query = mysql_query("SELECT * FROM customers");
mysql_query("SET NAMES 'hebrew'");
while ($row = mysql_fetch_array($query))
{
echo <<<eof
<tr>
<td align=center><input type="checkbox" name="id$count" value=".$row['email']."></td>
<td align=center>".$row['id']."</td>
<td align=center>".$row['fname']."</td>
</tr>
eof;
$count++;
}
echo <<<eof
<table><br /><center><INPUT type=\"submit\" value=\"עבור לטופס\" class=\"chartablebutton2\">
<INPUT type=\"reset\" value=\"אפס\" class=\"chartablebutton2\"></center>
eof;
יש "אין-סוף" checkboxים ואני צריך לקבל את הVALUE של כולם.
איך אני עושה את זה?