Jump to content
  • 0

$_Get Not Work


jkmorayur

Question

public function manageModule($module, array &$vars) {      print_r($_GET);     // Load the view into this object, so helpers can be automatically added to the view      if (isset($_GET[1]) && $_GET[1] == "changepassword")      {           $this->view = new View("change_password", "default");           # # TODO: to whatever else you need to do #      } else {           $this->view = new View("manage", "default");      }      $this->view->base_uri = $this->base_uri;      $this->view->setDefaultView("components" . DS . "modules" . DS . "test" . DS);      // Load the helpers required for this view      Loader::loadHelpers($this, array("Form", "Html", "Widget"));      $this->view->set("module", $module);      return $this->view->fetch(); }

 

In above function i don't get any values inside the $_GET

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...