int addValue(string $varname, string $value[, int $flags]);

Adds $value to the end of an array of values named $varname

$flags (optional)

1 - do not add if $value is empty, that is, if it is equal to "".

2 - do not add if $value contains "!ASP!", "!PHP!", "!MIVA!", etc. This usually indicates that ASP, PHP, etc. code has been converted to the corresponding string (New v5.9910); in v11.0010+, this has changed to "contains" from "equals"

Returns the index into the array $varname where $value has been stored. If an error occurred or no value was stored, then addValue() returns -1.


// add $forvalue to the end of the $labelforarray array