Hi,
I have added the value in the URL
projects.org/index.php?option=com_chronocontact&Itemid=582?v_name=18
Where the v_name is the value added in the url.
When I tried to retrive the value from the URL using the code
1)
2)
In both the methods I cant able to retrive the data and there is no errors.
It was working fine in SEF. Now I have Turned off the SEF it is not working
Regards,
Shoaib.
🙂
I have added the value in the URL
projects.org/index.php?option=com_chronocontact&Itemid=582?v_name=18
Where the v_name is the value added in the url.
When I tried to retrive the value from the URL using the code
1)
$v_name = JRequest::getString('v_name', '', 'get');
2)
$v_name = $_GET['v_name'];
In both the methods I cant able to retrive the data and there is no errors.
It was working fine in SEF. Now I have Turned off the SEF it is not working
Regards,
Shoaib.
🙂
Hi shoaib,
That's because you aren't using a valid query string here:
So you need
Bob
That's because you aren't using a valid query string here:
index.php?option=com_chronocontact&Itemid=582?v_name=18
The string starts with a '?' then each pair of parameters is separated by an '&' So you need
index.php?option=com_chronocontact&Itemid=582&v_name=18
Bob
This topic is locked and no more replies can be posted.