Hello
in
Joomla CCK as hint for work with Custom Field -> PHP, you need click at "field" settings
There you will see mask for all fields wit style and without styles, This may help to you duplicate or show some field exactly as you need.
so next if you see some field mask: {|text_select_list_172|}
all what you need do , the write below code:
Code: |
print_r({|text_select_list_172|})
|
so you will can check this field inner data format. After you easy write IF condition
And please use "print_r" - this command help to you see DATA format, but "echo" move all data to "STRING" format
Regards
OrdaSoft team