Building Websites with PHP/Nuke
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

There are three styles for code. Code words in text are shown as follows: "… the database access variables, $prefix and $db, and it needs the module name, $module_name."

A block of code will be set as follows:

if ($numrows)
{
$row = $db->sql_fetchrow($result);
$dino_title = $row['title'];
$image = $row['image'];
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be made bold:

if ($numrows)
{
$row = $db->sql_fetchrow($result);
$dino_title = $row['title'];
$image = $row['image'];
}

New terms and important words are introduced in a bold-type font. Words that you see on the screen, in menus or dialog boxes for example, appear in our text like this: "clicking the Next button moves you to the next screen".

Tip

Tips, suggestions, or important notes appear in a box like this.