php form did not work
<p>I am trying to send  two arguments (textbox&amp;value in checkbox) using form with specific row id            </p>

<pre><code>    while($row = mysql_fetch_array($result))
   {
       echo "&lt;tr&gt;";
      echo "&lt;td&gt;" . $row['id'] . "&lt;/td&gt;";
      echo "&lt;td&gt;" . $row['datef'] . "&lt;/td&gt;";
      echo "&lt;td&gt;" . $row['name'] . "&lt;/td&gt;";
    $idw=$row['id'];
      }
      echo "&lt;/table&gt;";

        echo " &lt;/br&gt;";



      echo "&lt;form action=\"checked.php\" method=\"POST\"  enctype=\"multipart/form- data\" &gt;";

       echo "&lt;input type=\"text\" name=\"ids\" value=\"$idw\" &gt;&lt;br&gt;";

        echo "&lt;input type=\"checkbox\" name=\"check\" value=\"0\" &gt;&lt;br&gt;";

       echo "&lt;p&gt;&lt;input name=\"submit\" type=\"submit\" value=\"submit\"  /&gt;&lt;/p&gt;";
          echo "&lt;/form&gt;";
</code></pre>

<p>checked.php :</p>

<pre><code>   $idw=$_GET['ids'];
  $check=$_GET['check'];


  echo $idw;

   echo $check;

    if ($check==1){
   $sql="UPDATE image_try SET  checked=1 WHERE id=$idw";


   $q=mysql_query($sql);}
</code></pre>

<p>the problem that checked.php did not receive the arguments from the form </p>
