Skip to content

Instantly share code, notes, and snippets.

@tebajanga
Created December 24, 2018 06:31
Show Gist options
  • Save tebajanga/49657514f464a6ab6adb34c585074861 to your computer and use it in GitHub Desktop.
Save tebajanga/49657514f464a6ab6adb34c585074861 to your computer and use it in GitHub Desktop.
<?php
// Turn on debugging level
$Vtiger_Utils_Log = true;
include_once 'vtlib/Vtiger/Module.php';
error_reporting(E_ALL);
ini_set("display_errors", "on");
$current_user = Users::getActiveAdminUser();
include_once 'modules/cbQuestion/cbQuestion.php';
$qid = 0;
$answer = cbQuestion::getAnswer($qid);
$table = cbQuestion::getTableFromAnswer($answer);
echo $table;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment