title: How do I assign the value of a textbox to a variable?
body: <p>How do I assign the value of a textbox to a variable?</p>
  
  <p>Here is my form: </p>
  
  <pre><code>&lt;form id="" method="post" action="photo_upload.php" enctype="multipart/form-data"&gt;
  &lt;table align="center" cellpadding="0" cellspacing="0" border="0" width="650px"&gt;
    &lt;tr&gt;
    &lt;td colspan="7"&gt;
    &lt;input type="text" id="albumName" name="albumName" value="jaghamachi"/&gt;  
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td width="50px" align="center"/&gt;
    &lt;td align="center" width="100px"&gt;Upload Pics::&lt;/td&gt;
    &lt;td align="center" width="50px"/&gt;
    &lt;td align="center" width="200px"&gt;
        &lt;input type="file" id="file" name="file"/&gt;
    &lt;/td&gt;
    &lt;td align="center" width="50px"/&gt;
    &lt;td align="center" width="100px"&gt;
        &lt;input type="submit" name="submit" id="submit" value="submit" class="button" style="width: 100px;" /&gt;
    &lt;/td&gt;
    &lt;td align="center" width="50px"/&gt;   
    &lt;tr&gt;
    &lt;td height="16px"/&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
    &lt;/form&gt;
  &lt;?php
  // here i want a code similar to string str = Text1.Text like in .net;
  //i want a code smthng like this 
  //$value= albumName.value; how to do it?? here albumName is the textbox type in above form
  ?&gt;
  </code></pre>
  
  <p>How can it be done, without using javascript or jquery?</p>