[pmwiki-users] Page Variables help - how to take one and split into two

stevecrisp at gmail.com stevecrisp at gmail.com
Tue Nov 3 15:18:46 CST 2009


2009/11/2 Hans <design5 at softflow.co.uk>:
> ParseArgs() does  not work too well, as it creats separate arrays for
> single parameters starting with - and with +, and it gets tricky to
> deconstruct these into the actual values.
>
> So I tried this instead, which adds parameters lat=... and long=...
> [snip...]

Thanks for that Hans.  I was having trouble with the sign on values.
I also like your solution above as it also caters for when we omit the
parameter names.

-Steve.



More information about the pmwiki-users mailing list