13 lines
340 B
PHP
13 lines
340 B
PHP
<?php
|
|
class SurveyTrackIncremental {
|
|
|
|
static public function write($anketa, $msg) {
|
|
if(!empty($msg)){
|
|
$date = date("Y-m-d h:m:s");
|
|
|
|
$s = sisplet_query("INSERT INTO srv_tracking_incremental (anketa, datetime, message) "
|
|
." VALUES ('$anketa', NOW(), '$msg')");
|
|
if (!$s) echo mysqli_error($GLOBALS['connect_db']);
|
|
}
|
|
}
|
|
} |