FillVars

From FiFormsWiki

Jump to: navigation, search

The correct name for this function is fillVars(). The syntax is as follows:

fillVars($varArray, $varString, $html = FALSE)

The fillVars function accepts three parameters:

  • $varArray is an associative array of variables that will be substituted into $varString
  • $varString is a string with the names of keys of $varArray enclosed in %% signs
  • $html indicates whether html entities should be substituted in $varString
Personal tools