[pmwiki-users] Redirect() & $MEssagesFmt

adam overton a at plus1plus1plus.org
Thu Jul 3 15:43:35 CDT 2008


hi Peter!
ahh, i didn't realize it was an array. thanks.
but ... it's still getting cleared

i did, however, figure out a nice/workable solution using http  
variables, though i am still hoping someone might fill me in on how  
to use the (:messages:) markup in a case like this...

thanks!
a



> list is down, but I know you need at least [] after the $MessageFmt  
> assignment.
>
> Instead of $MessageFmt = 'blahh' you need $MessageFmt[] = 'blahh';
>
> $MessageFmt is an array and this is the way you append to the end of
> an array in PHP.  (Sorry if that's overexplaining - I'm not sure of
> your PHP background...)
>
> I have a feeling that a Redirect() resets everything anyway and so I
> don't think that'll work, but at least it's a step in the right
> direction...
>
> -Peter




More information about the pmwiki-users mailing list