title: Embed javascript in PHP echo
body: <pre><code>echo "&lt;td&gt; + manuf + &lt;/td&gt;";
  </code></pre>
  
  <p>Is this above ever going to work??</p>
  
  <p>I'm pulling results from a mysql db to edit the contents but need the jQuery functionality to edit it, hence the embedded javascript variable...</p>
  
  <p>EDIT:</p>
  
  <p>Sorry for the lack of context, its related to another question i've asked on here <a href="https://stackoverflow.com/questions/4123012/mysql-edit-users-orders-they-have-placed">Mysql edit users orders they have placed</a>
  this is the end goal. To edit the order i place, i need to pull the results into an environment similar to how the user placed the order. So my thinking was to include the jQuery functionality to add items to a cart etc, then they could press submit and in the same way i used .Ajax to post the data to an insert php script i would post the values to an update php script! Is this backwards thinking, any advice welcomed!</p>