$ data_common [$ datacntr] ['SKU'] =何かの場合、印刷ラベルを表示する条件が必要です
echo <a href="#" onclick="Popup=window.open(\'printLabel.php?OrderID=' . $orderId . '& Name=' . $Name . '&ShippingAddress=' . $ShippingAddress . '& AddressLine1=' . $AddressLine1 . ' &AddressLine2=' . $AddressLine2 . '&AddressLine3=' . $AddressLine3 . '&City=' . $City . '&County=' . $County . '&District=' . $District . '&StateOrRegion=' . $StateOrRegion . '&PostalCode=' . $PostalCode . '&Phone=' . $Phone . '&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;"><img src="images/printLabel.png" alt="Print Lable"></a></td>
そうでなければ何も