5 lines
384 B
PHP
Executable File
5 lines
384 B
PHP
Executable File
<?
|
|
$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>";
|
|
} |