How to display print label with php code
<p>i want a condtion to make a print label visible
if $data_common[$datacntr]['SKU'] = something</p>

<pre><code> echo &lt;a href="#" onclick="Popup=window.open(\'printLabel.php?OrderID=' . $orderId . '&amp; Name=' . $Name . '&amp;ShippingAddress=' . $ShippingAddress . '&amp; AddressLine1=' . $AddressLine1 . ' &amp;AddressLine2=' . $AddressLine2 . '&amp;AddressLine3=' . $AddressLine3 . '&amp;City=' . $City . '&amp;County=' . $County . '&amp;District=' . $District . '&amp;StateOrRegion=' . $StateOrRegion . '&amp;PostalCode=' . $PostalCode . '&amp;Phone=' . $Phone . '&amp;platform=' . $platform . '\',\'Popup\',\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no, width=700,height=600,left=430,top=23\'); return false;"&gt;&lt;img src="images/printLabel.png" alt="Print Lable"&gt;&lt;/a&gt;&lt;/td&gt;
</code></pre>

<p>else nothing</p>
