O'Reilly logo

Mastering phpMyAdmin 3.1 for Effective MySQL Management by Marc Delisle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

TEXT

We will now explore how to use the TEXT field type and the relevant configuration values to adjust for the best possible phpMyAdmin behavior. First, we add to the book table a TEXT field called description.

There are three parameters that control the layout of the text area that will be displayed in Insert or Edit mode for the TEXT fields. First, the number of columns and rows for each field is defined by:

$cfg['TextareaCols'] = 40;
$cfg['TextareaRows'] = 7;

This gives (by default) the following space to work on a TEXT field.

TEXT

The settings impose only a visual limit on the text area, and a vertical scroll bar is created by the browser if necessary. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required