New Articles

  1. sgapiMd5(%%string)

    This is equivalent to the md5 function in PHP. It returns the MD5 hash of the provided string. Can be used to compare two strings for an exact match by comparing their MD5 hash values. To see an example or learn more other PHP functions a...
  2. sgapiIn_Array(%%needle,%%haystack,%%strict)

    This is equivalent to the in_array function in PHP. It searches the array %%haystack for %%needle. Setting %%strict to TRUE will also check the type of the needle in the haystack. To see an example or learn more other PHP functions and PH...
  3. sgapiPreg_Match(%%pattern, %%subject, %%matches, %%flags, %%offset)

    This is equivalent to the preg_match function in PHP. Use to perform a regular expression match. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  4. sgapiSort(%%array, %%flag)

    This is equivalent to the sort function in PHP. This function sorts an array. Elements will be arranged from lowest to highest when this function has completed. The %%flag parameter defaults to "SORT_REGULAR". See the PHP documentation to lea...
  5. sgapiIsArray(%%string)

    This is equivalent to the is_array function in PHP. Evaluates as "true" if the variable is an array. To see an example or learn more other PHP functions and PHP programming visit PHP Documentation . ...
  6. sgapiStrCaseCmp(%%str1,%%str2,%%case=false)

    This is equivalent to the strcasecmp function in PHP. This function will compare %%str1 with %%str2 in a case-insensitive manner when %%case=false. The results are returned as either a negative number (str1 < str2), 0 (match), or a positive numbe...
  7. sgapiIConv(%%in_charset, %%out_carset, %%string)

    This is equivalent to the iconv function in PHP. Performs a character set conversion on %%string from %%in_charset to %%out_charset. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  8. sgapiShuffle(%%array)

    This is equivalent to the shuffle function in PHP. Given an array this function will randomly reorder the array. It will evaluate as true on success and false on failure. To see an example or learn more other PHP functions and PHP program...
  9. sgapiStrToLower(%%string)

    This is equivalent to the strtolower function in PHP. This function returns the given string in all lower case using the PHP function strtolower. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentati...
  10. sgapiPrint_R(%%mixed)

    This is equivalent to the print_r function in PHP. Given any variable sgapiPrint_R will display information about a variable in a way that is readable by humans. Use with %%output to output to the page. Very useful when looking at arrays of data o...