= 3.23 */ if (MYSQL_MAJOR_VERSION >= 3.23) { $result = mysql_query('SHOW TABLE STATUS LIKE \'' . sql_addslashes($table, TRUE) . '\'') or mysql_die(); $row = mysql_fetch_array($result); if (!empty($row['Comment'])) { echo $strTableComments . ' : ' . $row['Comment']; } } // end display comments /** * Displays the table structure */ // Gets fields properties $result = mysql_query('SHOW FIELDS FROM ' . backquote($table)) or mysql_die(); ?>
> |