What the best way to store data from SQL to element in JQUERY
<p>I've used this method to store my data to element while I fetch it from SQL:</p>

<pre><code>echo "&lt;p name='" . $data['name'] . "'&gt;product&lt;/p&gt;"; // PHP code

&lt;p name='product_name'&gt;product&lt;/p&gt; // HTML code
</code></pre>

<p>Could you tell me the best way to store element like that because I want use it 
in jQuery...</p>
