26 lines
854 B
PHP
Executable File
26 lines
854 B
PHP
Executable File
<?php
|
|
#################################################################################
|
|
# #
|
|
# written by benjamin ramey #
|
|
# bsr@rameydesign.net #
|
|
# #
|
|
# This file contains: #
|
|
# Functions that handle messages to the user #
|
|
# #
|
|
#################################################################################
|
|
# style: all caps, underscores
|
|
# prefix: M_
|
|
####################################################################### GLOBALS #
|
|
# messages that must be printed to the page for the user
|
|
$M_MESSAGES = array();
|
|
|
|
########################################################### FUNCTION: mesg_make #
|
|
function mesg_make($mesg)
|
|
{
|
|
global $M_MESSAGES;
|
|
|
|
# simply add the message to the messages array
|
|
$M_MESSAGES[] = $mesg;
|
|
}
|
|
|
|
?>
|