Friday, March 25, 2011, 11:27:36 AM, Eemeli wrote: > In your function, $FmtPV hasn't been made a global, so you end up > creating a local variable with $FmtPV['$price'] = "$price"; that goes > out of scope at the end of the function.
Even if $FmtPV is declared global I don't think you can set an entry to $FmtPV in a function called by markup, and have it evaluated in the page, because it comes much too late in the page rendering process. Or am I wrong here? Hans _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel