[pmwiki-users] Using PTVs inside php on a page for calculating days difference between dates

kirpi at kirpi.it kirpi at kirpi.it
Fri Sep 26 10:48:45 CDT 2014


> I used the php code you supplied
> and wrapped it into a function for Fox...

*I* used the php code *you* provided and...
it all works astonishingly well!
:-)

Once more, despite your documentation page[1] (perhaps technically
correct, but a bit "dry" for non expert people), I could have never
imagined how to build such thing.
Actually, this very sample case (date difference calculation) could
perhaps be included in your documentation page in order to offer a
practical example?
I guess so because a lot of things (again those ptv_ prefix, as an
instance) are far from easy to understand for non_coders.
Thus, a little example might be of benefit to many.
This example is now ready and working :-)

I believe a lot of people still have to discover how useful and powerful Fox is.

Thank you, Hans!

Luigi

----
[1] http://softflow.co.uk/design/FoxDocumentation/FilterFunctions



More information about the pmwiki-users mailing list