-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the log function in PHP. Returns the log of %%number. If the optional %%base parameter is specified, log() returns logbase %%number, otherwise log() returns the natural logarithm of %%number.
To see an example or lea...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the round function in PHP. Returns the %%number rounded to the nearest whole number by default. If the optional %%decimal is also included, it defines the number of decimal positions to include.
To see an example or ...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the explode function in PHP. Given a %%string it will create an array breaking the string up by %%delimiter. Limit is optional. If set, the returned array will only contain up to %%limit elements.
To see an example o...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the mt_rand function in PHP. It generates a random number (typically 9 or 10 digits long). If the optional %%min and %%max integers are specified, it will generate a number between %%min and %%max instead.
To see an...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the implode function in PHP. Given an array of %%pieces it will create a string delimited by the %%glue.
To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation .
...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the strtotime function in PHP. This function takes %%string and converts it to a Unix timestamp. If the optional %%time is given it will convert it relative to %%time.
See an example in our Age Verification by Birthd...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the urldecode function in PHP. This function can be used to read information that is URL encoded.
Example
A good example would be reading information from a URL variable.
//retrieve the string describing a...
-
Created On: 08/08/2020
in PHP Functions
This function runs both the PHP rtrim and ltrim functions on the given value and returns the results. This will remove all preceding and trailing whitespace.
Example
The below example will output the following: Text to Leftall this ...
-
Created On: 08/08/2020
in PHP Functions
This is the equivalent of the count function in PHP. It returns the number of elements in an array.
To see an example or learn more other PHP functions and PHP programming visit PHP Documentation .
...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to str_replace function in PHP. This function looks for %%search inside of %%subject and replaces all %%search values with %%replace.
The %%search attribute can be a single value or an array of values. If %%search is ...