Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
require_once("../func.php");
|
||||
require_once("../dbaccess.php");
|
||||
$polacz = mysql_connect($db_host, $db_user, $db_user_pass) or die ('cannot connect to db');
|
||||
mysql_select_db($db_name);
|
||||
mysql_query("SET NAMES utf8");
|
||||
mysql_query("SET CHARACTER_SET utf8_general_ci");
|
||||
|
||||
|
||||
echo"START: ".date('Y-m-d H:i:m')."<br/>";
|
||||
|
||||
mysql_query("DELETE FROM softspm_rep.rep_003_data WHERE Q_H is null");
|
||||
mysql_query("truncate table softspm_rep.rep_003_data_ready");
|
||||
|
||||
unset($przelicz);
|
||||
$przelicz = sqlGetResAsArray("select * from softspm_rep.rep_003_data");
|
||||
for($p=0; $p<count($przelicz); $p++)
|
||||
{
|
||||
getParentAndValue4rep003($przelicz[$p]['DRS_ID']);
|
||||
}
|
||||
|
||||
echo"STOP: ".date('Y-m-d H:i:m')."<br/>";
|
||||
|
||||
|
||||
mysql_close($polacz);
|
||||
?>
|
||||
Reference in New Issue
Block a user