-
Book Overview & Buying
-
Table Of Contents
Mastering phpMyAdmin 2.11 for Effective MySQL Management
In this chapter, we cover a powerful phpMyAdmin feature: its ability to transform a column's contents according to specific rules, called the transformations. This chapter describes how we can transform the contents that we see in the Browse mode for a table. Normally, the exact contents of each row are displayed, except that:
TEXT and CHARACTER fields might be truncated, according to $cfg['LimitChars'], and whether we have clicked on the Full Text icon.
BLOB fields might be replaced by a message like [BLOB - 1.5 KB].
We will use the term cell to indicate a specific column of a specific row. The cell containing the cover photograph for the 'Future souvenirs' book (a BLOB column) is currently displayed as cryptic data like ‰PNG\r\n\Z\n\0\0\0\rIHDR\0, or as a message stating the BLOB field's size. It would be interesting to see a thumbnail of the picture directly in phpMyAdmin, and possibly the full-size picture itself.
We define a transformation as...
Change the font size
Change margin width
Change background colour