fix variable name
This commit is contained in:
parent
7d5b37236c
commit
12e043c06c
|
@ -25,7 +25,7 @@ class DataTableControl extends Database{
|
|||
return $row;
|
||||
}
|
||||
|
||||
public function readFields($tableName)
|
||||
public function readFields($tablename)
|
||||
{
|
||||
$st=explode('.',$tablename);
|
||||
$sql = "select COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS where table_schema='".$st[0]."' and TABLE_NAME='".$st[1]."'";
|
||||
|
|
Loading…
Reference in New Issue