diff --git a/system/libraries/Table.php b/system/libraries/Table.php
index 01c45c7..183e889 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -263,6 +263,21 @@
// --------------------------------------------------------------------
/**
+ * Clears the table arrays. Useful if multiple tables are beting generated
+ *
+ * @access public
+ * @return void
+ */
+ function clear_data()
+ {
+ $this->rows = array();
+ $this->heading = array();
+ $this->auto_heading = TRUE;
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
* Set table data from a database result object
*
* @access public