$result = $db->query('select * from table limit 1');
$fields = array_keys($result->fetch(PDO::FETCH_ASSOC));
Code Example |
---|
:: |
:: |
:: |
:: |
:: |
:: |
Javascript :: |
:: |
:: |
:: |
Javascript :: |
Javascript :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Javascript :: |
:: |
Javascript :: |
Javascript :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |