PHP: Retrieving field comments from a database table Language Notes PHP
You can use PHP combined with MySQLi to obtain the annotation information of the fields in the data table. Use the fetch_fields() function in the mysqli_result class to get all field object arrays, then iterate through each field object, use the real_escape_string() function in MySQLi to escape the field names and splice them into a SQL query...