Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
$w=$GLOBALS['db']->query("select id,document_no from ecmsales where date_entered>'2011-01-02'");
$i=0;
while($r=$GLOBALS['db']->fetchByAssoc($w)){
echo '#'.$r['document_no'].'<br>';
echo "update ecmsales set number='20110103".($i+1)."',document_no='ZS 00".($i+1)."/10' where id='".$r['id']."';<br>";
$i++;
}
?>