Answer the question
In order to leave comments, you need to log in
How to get MySQL table field comments in PHP?
There is a table, there are fields in it, there are comments to the fields:
`hour` int(11) DEFAULT NULL COMMENT 'Количество часов',
SELECT
column_comment,column_name
FROM
information_schema.columns
WHERE
1=1
AND table_name = 'table'
AND table_schema = 'schema'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question