On Tue, Feb 7, 2012 at 5:21 PM, Daniel <[email protected]> wrote:
> $pagename = ResolvePageName($pagename);
> if ($pagename != $prevpage) {
>  $prevpage          = ResolvePageName($prevpage);
>  $FmtPV['PrevPage'] = PageVar($prevpage, '$FullName');
>  $prevpage          = $pagename;
> }

You would have to save it in your session or a cookie rather than just
in a variable if you want the value to remain between successive loads
of pages.

All normal PHP variables are destroyed (lose their values) at the
conclusion of the processing of the current page.

-Peter

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to