Code: Alles auswählen
#$id = @mysql_list_fields($this->Database, $table); // alt
$id = mysql_query("SHOW COLUMNS FROM {$table}"); // neu
mysql_list_fields ist auch schon sehr veraltet, kann daher wirklich mal ersetzt werden
das gleiche kann theroetisch auch in der mysqli vorgenommen werden
conlib/db_mysqli.inc || Zeile 424
Code: Alles auswählen
#$id = mysqli_query($this->Link_ID, sprintf("SELECT * FROM %s LIMIT 1", $table)); // alt
$id = mysqli_query($this->Link_ID, "SHOW COLUMNS FROM {$table}"); // neu