Adding php variable to button value
<p>I have a php variable ($num_rows) that i want to add to button value.</p>

<p>I am not getting value i want which should show like "Pending Friend Requests(0)"</p>

<p>I tried many different things but is not working. How can i write the code so that i get right value?</p>

<p>Here is the code:</p>

<pre><code>$interactionBox= '&lt;input type="button" value="Pending Friend Requests(\'.$num_rows.\')" onclick="return false" onmousedown="javascript:toggleInteractContainers(\'friend_requests\');"/&gt;'; 
</code></pre>

<p>I tried:</p>

<pre><code>value="Pending Friend Requests(".$num_rows.")"
value="Pending Friend Requests(.".$num_rows.".)"
</code></pre>
