Пример #1
0
 public static function postlog($postobj = '')
 {
     $sql = "INSERT INTO `tk_bubupostlog`(`post`, `created_at`, `updated_at`) VALUES ('" . $postobj . "','" . date('Y-m-d H:i:s') . "','" . date('Y-m-d H:i:s') . "')";
     $result = dbconn::db_query($sql);
 }
Пример #2
0
 public static function update_sentemail($ticket = '')
 {
     $query = "UPDATE `tk_tripticket` set `mem_emailsend`=1 WHERE `mem_tripticket` = '" . $ticket . "'";
     dbconn::db_query($query);
 }