-
Book Overview & Buying
-
Table Of Contents
Mastering phpMyAdmin 2.11 for Effective MySQL Management
This chapter explores editing table definitions and using special column types. When developing an application, requirements often change because of new or modified needs. Developers must accommodate these changes through judicious table-structure editing.
Suppose that we need a new field to store a book's language and, that by default, the books on which we keep data are written in English. We decide that the field will be called language and will contain a code composed of two characters (en by default).
In the Structure sub-page of the Table view for the book table, we can find the Add field dialog. Here, we specify how many new fields we want and where they will go.
The positions of the new fields in the table only matter from a developer's point of view; we usually group the fields logically so that we can find them more easily in the list of fields. The exact position of the fields will not play a role in the intended results (output...
Change the font size
Change margin width
Change background colour