diff --git a/site/db.php b/site/db.php
new file mode 100644
index 00000000..15aff275
--- /dev/null
+++ b/site/db.php
@@ -0,0 +1,48 @@
+
Database
+Table: {$table}";
+echo "";
+// printing table headers
+for($i=0; $i<$fields_num; $i++)
+{
+ $field = mysql_fetch_field($result);
+ echo "{$field->name} | ";
+}
+echo "
\n";
+// printing table rows
+while($row = mysql_fetch_row($result))
+{
+ echo "";
+
+ // $row is array... foreach( .. ) puts every element
+ // of $row to $cell variable
+ foreach($row as $cell)
+ echo "$cell | ";
+
+ echo "
\n";
+}
+mysql_free_result($result);
+?>
+
+
\ No newline at end of file