Database Join Element issues

Status
Not open for further replies.

lknmedia

New Member
okay, I have created a few database join elements using the ID as the key and another element as the Value.

It displays the Value in the form ... this is what I want. BUT When I use this code to write the selected data to the next form:

Code:
$name = mosGetParam($_GET, 'ad_name', '');
return $name;

I get the Key (id) and not the Value inserted in the form

Here is the string in the URL:

ndex.php?option=com_fabrik&Itemid=123&adsearch_name=114&adsearch_name[value]=114

I have alos tried using this code:
Code:
global $_SESSION;
return $_SESSION['fabrik'][1]['info___elementname'];

And the same thing .. except for it ALSO puts commas before and after the result?
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top