View Single Post
ישן 19-06-06, 12:51   # 1
Light-Era.Net || Ronen
עסק רשום [?]
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 36
הודעות: 1,201

Light-Era.Net || Ronen לא מחובר  

[שאלה] הבאת מספר לא מוגבל של שדות לFORM

קטע מהקוד:

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\">&nbsp;
<INPUT type=\"reset\" value=\"אפס\"  class=\"chartablebutton2\"></center>
eof; 
יש "אין-סוף" checkboxים ואני צריך לקבל את הVALUE של כולם.
איך אני עושה את זה?
  Reply With Quote