Add php files
This commit is contained in:
6
modules/EcmPriceBooks2/updatepc.php
Executable file
6
modules/EcmPriceBooks2/updatepc.php
Executable file
@@ -0,0 +1,6 @@
|
||||
<?
|
||||
$w=$GLOBALS['db']->query("select productcategory,productcategoryen from productcategory");
|
||||
while($r=$GLOBALS['db']->fetchByAssoc($w)){
|
||||
$GLOBALS['db']->query("update ecmproductcategories set name_en='".$r['productcategoryen']."' where name like '".$r['productcategory']."'");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user