What's wrong with this?

4 posts by 3 authors in: Forums > CMS Builder
Last Post: November 15, 2012   (RSS)

Re: [Toledoh] What's wrong with this?

By Codee - November 15, 2012

Maybe it IS working (mostly)...how about putting a test statement or something to print if it gets to the final<else> statement? Maybe it's printing nothing because it did not find 'a' nor 'b'... that's the only thing I can think of at the moment.

Re: [Toledoh] What's wrong with this?

By Dave - November 15, 2012

Is it a multi-value field? If so, those have values that are separated by tabs.

I always echo values surrounded by quotes, so I will notices stray spaces and tabs. eg:

$detailRecord['modules'] = "<?php echo $detailRecord['modules']; ?>"
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] What's wrong with this?

[blush]

Yep - multi value. thanks Dave, equinox69.
Cheers,

Tim (toledoh.com.au)