Log ZeenDoc_Client1191.zlog

    0

    6

    log

    This code will insert a new line into the ZeenDoc_Client1191.zlog table with the current date, message and file.

    Shortcut: zeenlog

    $log_message = "MESSAGE DE LOG TEST RLT";
    
    Get_Db("ZeenDoc_Client1191")->SQLQuery("
      INSERT INTO ZeenDoc_Client1191.zlog (message, date, file) VALUES (#message#, #date#, #file#)",
      array(
        "message" => $log_message,
        "date" => date("Y-m-d H:i:s"),
        "file" => __FILE__
      )
    );
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.