I am trying to extract two values from the url with Jinput.
My url is:
I am using the following code:
$jinput = JFactory::getApplication()->input; $name = $jinput->get('subscribers_name','none','raw'); $email = $jinput->get('subscribers_email','none','raw'); echo $name; echo $email;
The problem is that I only get the last value; in other words I'm getting:
$name = 'test'; $email = 'none'; // (should be [email protected])
Any idea what I am doing wrong and how I should fix it?