Files
crm.e5.pl/modules/EcmPrices/showrecipientcode.php

5 lines
388 B
PHP
Raw Permalink Normal View History

2024-04-27 09:23:34 +02:00
<?
$w=$GLOBALS['db']->query("select recipient_code,ecmproduct_id,ecmprice_id from ecmprices_ecmproducts where recipient_code!='' and recipient_code IS NOT NULL");
while($r=$GLOBALS['db']->fetchByAssoc($w)){
print "update ecmprices_ecmproducts set recipient_code='".$r['recipient_code']."' where ecmproduct_id='".$r['ecmproduct_id']."' and ecmprice_id='".$r['ecmprice_id']."';<br>";
}