Specifications

case ‘information’ :
{
display_information($id);
break;
}
To see what the display_information() function does, look at Figure 28.8.
Building Practical PHP and MySQL Projects
P
ART V
684
FIGURE 28.8
The display_information() function shows a blurb about a mailing list.
The function displays some general information about a particular mailing list, as well as list-
ing the number of subscribers and the number of newsletters that have been sent out to that list
and are available in the archive (more on that in a minute).
The code for this function is shown in Listing 28.8.
L
ISTING 28.8 display_information() Function from output_fns.phpThis Function
Displays List Information
function display_information($listid)
{
if(!$listid)
return false;
34 7842 CH28 3/6/01 3:46 PM Page 684