rgget()

Description

Obtains GET variables from the URL.

Usage

rgget( $name, $array );

Parameters

  • $name string

    The query string key that you want to get.

  • $array array

    An array containing variables. Defaults to all GET variables.

Examples

// Gets the current form ID on the Edit page.
$form_id = rgget( 'id' );