title: How to read the text box value into session in php joomla?
body: <p>What I am trying to achieve here is, when user input the data on the text box below, how can the value of text box be passed into the "amount"?</p>
  
  <p>By the way, it is for Joomla Database..</p>
  
  <pre><code>&lt;input type="text" id="amount" name="amount" value=0 value="&lt;?php $session =&amp; JFactory::getSession(); $session-&gt;set('amount', ''); ?&gt;"/&gt;
  </code></pre>