diff --git a/public_html/inc_functions.php b/public_html/inc_functions.php
new file mode 100644
index 0000000000000000000000000000000000000000..84531e325ed31d8884f627b49c0b2e28b430ff98
--- /dev/null
+++ b/public_html/inc_functions.php
@@ -0,0 +1,17 @@
+<?php
+
+function showExample($sPhpcode){
+    global $renderAdminLTE;
+    $sOut = '';
+
+    eval("\$sOut=$sPhpcode;");
+
+    return '
+        <h3>PHP code</h3>
+        <pre>'.htmlentities($sPhpcode).'</pre>
+
+        <h3>Output</h3>
+            '.$sOut.'
+
+    ';
+}
\ No newline at end of file
diff --git a/public_html/index.php b/public_html/index.php
index b1efc487214e34b4a21b7a80f932a9bffe778200..308c85d3ec00d303592b31a5db54f687e92adf91 100755
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -3,6 +3,8 @@
 require_once('classes/render-adminlte.class.php');
 require_once('classes/pageinclude.class.php');
 
+require_once('inc_functions.php');
+
 // ----------------------------------------------------------------------
 // CONFIG
 // ----------------------------------------------------------------------