From 968a7127d16e2988d6b0acd9648bcd796964cd61 Mon Sep 17 00:00:00 2001 From: Amazighks Date: Tue, 3 Mar 2015 14:15:55 +0100 Subject: [PATCH] Adding function adding GetColumn function --- MysqliDb.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/MysqliDb.php b/MysqliDb.php index 2e1c4a5c..d910156a 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -1123,4 +1123,14 @@ public function _transaction_status_check () { return; $this->rollback (); } + /** + * [GetColumn description] + * @param string + */ + public function GetColumn ($table='') { + $Columns = $this->rawQuery("SHOW COLUMNS FROM ".$this->db.".".$table); + return $Columns; + } + + } // END class