showing the sum of field values

More
11 years 7 months ago #41815 by days of summer
hi
i tried to change the code
Code:
.' WHERE field_id='.$field_id.' AND rel.catid='.$_cid.' GROUP BY rel.catid'

to
Code:
WHERE field_id IN ( 15, 19 ) AND rel.catid='.$_cid.' GROUP BY rel.catid'

and it worked and now showing the sum of the field 15 and 19

i hope that is the right way

thanks for helping me :)

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

More
11 years 7 months ago #41841 by ggppdk
Hello

you are welcome, we will be having a commercial version soon (with priority support, but without custom dev though)

your question was common so, now there is new FAQ article,

and FLEXIcontent documentation will stay 100% Free

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
11 years 7 months ago #41872 by days of summer
i wish you the best :)

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.278 seconds
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
Save