[pmwiki-users] php match q
noskule
noskule at gmx.net
Tue Jul 10 12:11:58 CDT 2007
noskule schrieb:
> 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
>
arg, I did a misstake in the mail, I meen
(:if equal '{$sowhfields}' FieldA:)
...formfield
(:if equal '{$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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list