Reply to Re: How get mySQL variable comment?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация