Getting field elements of another none-core field

More
12 years 7 months ago #18875 by ggppdk
I see that the query includes some PHP variables. (e.g.: $field_id)
First make sure that you have copied the ALL the code that assigns a value to these variables.

Also print these variables, to make sure they have (a correct) value. You can also print and copy the query, and then use phpmyadmin to test what rows it returns.

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #19160 by fesghel
I really did check all of them. I even got the output query and test it and it was right, but it's still not workin'. At the end of this code, I added this:

if (!$results) {
$depfieldnameA1 = '123';

} else {

$depfieldnameA1 .= $results->text;
}

And it doesn't return anything. I mean it has a result(and doesn't get me '123') but I'm getting no answer.

Anyway, do I really have to run the query again?

Thanks

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.263 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline