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