Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
date_default_timezone_set('Europe/Warsaw');
|
||||
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");
|
||||
|
||||
|
||||
//$reArray = getAvgHistoricalData_everyday_his('RHD_I_VAL',4596,'2017-01-26','2017-03-26');
|
||||
|
||||
echo getQuery_everyday_his('2015-10-10 23:23:23','2017-06-10 23:23:23','where RHD_DRS_ID=17293');
|
||||
|
||||
|
||||
//print_r($reArray);
|
||||
//echo $reArray;
|
||||
|
||||
mysql_close($polacz);
|
||||
|
||||
|
||||
//51.287500
|
||||
Reference in New Issue
Block a user