. # This file is useful for putting message box(es) on the screen. If you include # session_messages.php these messages can even persist accross http redirects # (such as you should do after receiving a POST. # # Just call message("message here") whenever you have something to report. # # # Once a template is loaded, call display_messages(). run.php will call # display_messages() for you automaticallly after your main function returns # (so long as you require_once this file.) If you want these messages to # persist accross browser redirects, then you should # require_once("code/wfpl/session_messages.php") # # Just make sure your template has a section with a # ~message html~ tag in it. # # Simple example: # # #
~message html~
# # # Full-featured example: # # #~message html~
# #