Populate a new list of checkboxes (multi Value) based on the input of another list of checkboxes (Multi Value)

14 posts by 2 authors in: Forums > CMS Builder
Last Post: January 17, 2017   (RSS)

Hi Ross

Thanks for this

I put the code in and changed the red to the correct values, however I am getting an error on the first line of your code:-

Warning: Invalid argument supplied for foreach() in /home/sunsetjavea/public_html/property/listingDetail_test_esp.php on line 299

If I put the :labels option in, it passes line 229 (first line of your code) and I get this error

mysql_get: second argument must be numeric or null, not 'BBQ area'!

This is what I would expect as we are looking for a "num" value here and we are picking up a label.

So what I deduce from this, is the first line of your code is not picking up the num value when I omit the :labels option.

Could you check your first line of code for me please.

Thanks

Andy

Hi Ross

Fantastic thanks!

That worked, I am now able to output all three languages for Features - great news.

You can see a demo at http://www.sunsetjavea.com/property/listingDetail_test_esp.php?248 

Scroll down to features and you will see all 3 languages outputted (English, Spanish, French)

Thanks for your help with this Ross, this opens up many more possibilities for me and will make the Admin side far easier to update now I have Features in a separate table

Cheers

Andy

By ross - January 17, 2017

Neat! I'm really glad that worked.

Keep me up to date with how you are making out.

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/