title: Adding the value in database with html inside echo field in phpv
body: <p>I want to add value of product_id inside database using bidupdate.php. 
  But everytime i try this. It says Error in connection as explained in die function in php. The value of product_id is not passing. I think there is some error in the value phase. Please check it.</p>
  
  <pre><code>    &lt;?php 
       if(isset($_SESSION['user_id'])){
         echo '&lt;form id="myForm" method="POST" action="bidupdate.php"&gt;';
         echo '&lt;input type="hidden" name="product_id" value = "&lt;?php echo '.$_REQUEST['product_id'].'"&gt;';
         echo '&lt;button input="submit" name="bid"&gt;Bid Now&lt;/button&gt;';
         echo '&lt;/form&gt;';
         }
      ?&gt;
  </code></pre>