This topic contains 1 reply, has 2 voices. Last updated by Raam Dev 4 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Oct 25th, 2012 at 2:28 am #29610 | |
I have an issue with the Advanced Conditionals when dealing with phone Apps I would like the app to check the database based on id if they have capabilities show addons on the phone. The problem is the place where the advanced conditionals are in mysql has some weird code and not something I can make the app search. I thought I was close – below I have an array of 3 ( invoice,addon1,addon2 ) This is the code from mysql I was just going to make the app search the string for each ( access_s2member_ccap_invoice ) for invoices and this would have worked. But I tested to see if I only add one capability ( invoice ) I get a:1:{s:15:”s2member_level1″;s:1:”1″;} So this solution wont work. Because this doesent have ( access_s2member_ccap_invoice ) Does anybody know how I can make this work? or an alternative Thanks. |