How to get MySQL columns data of a table in PHP. The data includes name, type, null allowed or not, key, default value and extra for auto_increase and such.
Source code viewer
$host = 'localhost'; $username = 'root'; $password = ''; if ($link) { $schema[] = $row; } } Programming Language: PHP