EE 1
EE 2
GET and POST Variables
Developer
3rd Party (Commercial)
Current Version: 1.1.1
Buy Now!
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
Tags
This plugin outputs variables from GET and POST arrays.
PARAMETERS
1) if_array - Optional. Allows you to specify what will be outputted in case the value of variable is array.
By default an empty string will be outputted.
2) on_failure - Optional. Allows you to specify what will be outputted in case variable was not found.
By default an empty string will be outputted.
USAGE
To output variable “my_variable” from GET array use the code as this:
{exp:get_post_vars parse="inward"}
{get_my_variable}
{/exp:get_post_vars}
To output variable “my_variable” from POST array use the code as this:
{exp:get_post_vars parse="inward"}
{post_my_variable}
{/exp:get_post_vars}
To output variable “my_variable” from POST or GET array use the code as this:
{exp:get_post_vars parse="inward"}
{get_post_my_variable}
{/exp:get_post_vars}
GET and POST Variables Links
This entry was last updated May 12, 2011, 11:58 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
1 Review:
Leevi J Graham 02.27.11
There is a free addon that provides the same (and some) functionality here: http://devot-ee.com/add-ons/mo-variables/