Brimbox Logo Brimbox Version 2.3.4 Released

post>>

Method to return $POST value of a form variable, will return default specified or empty string if not set.

Class: bb_work, called as $main

File: bb_work.php (php)

Declaration:

function post($name, $module, $default = "")

Usage:

$value = $main->post($name, $module, $default);

global $POST

Returns: value of a form variable, or value specified in default if not set.

Parameter: $name (string)
Name of the form variable.

Parameter: $module (string)
Module containing the form variable posted.

Parameter: $default (optional string)
Value returned if $POST variable specified is not set.

Updated: 2016-07-08