[pmwiki-users] php match q

noskule noskule at gmx.net
Tue Jul 10 12:07:09 CDT 2007


hi list
I would like to find out if a string occurs in a value and tried the
match condition

$showfields = FieldAFieldBFieldC


(:if match '{$sowhfields}' FieldA:)
...formfield
(:if match '{$sowhfields}' FieldB:)
...formfield


is there a way how to do it?

so far I tested with the match condition it isn't possible to use an
expression instead of a value.
if this don't work I also could define one, but witch one do I have to use?

thanks for any hints
grz nos



More information about the pmwiki-users mailing list