|
Posted by Gordon Burditt on 07/13/05 19:14
>In mySQLs phpMyAdmin, I can attach comments to variables.
>How can I get these in PHP?
The info for that is kept in database phpmyadmin, table pma_column_info,
on my system. This may vary depending on how you installed phpMyAdmin.
If you didn't install phpMyAdmin, chances are the info doesn't
exist.
>Did not found a "mysql_field_comment($resource,2)"
>Since phpMyAdmin can handle it, it should be possible.
phpMyAdmin keeps ITS OWN table of that data. It's not a standard
part of MySQL at all. And how it's stored is subject to changes
in how phpMyAdmin does things. But if you want to write PHP to
access that table, go right ahead, the current schema is fairly
easy to understand.
Gordon L. Burditt
[Back to original message]
|