Add php files
This commit is contained in:
13
modules/EcmStockStates/st.php
Executable file
13
modules/EcmStockStates/st.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?
|
||||
include_once("class.dbf.php");
|
||||
|
||||
$dbf=new dbf_class("klk/_stany.dbf");
|
||||
$num_rec=$dbf->dbf_num_rec;
|
||||
for($i=0;$i<$num_rec;$i++){
|
||||
$row=$dbf->getRowAssoc($i);
|
||||
$w[$row['INDEKS']]++;
|
||||
}
|
||||
foreach($w as $k=>$v){
|
||||
if($v>0)echo $v." = ".$k."\n";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user