[pmwiki-users] Using PTVs inside php on a page for calculating days difference between dates
design at softflow.co.uk
Sat Sep 27 16:35:50 CDT 2014
Saturday, September 27, 2014, 10:20:31 PM, you wrote:
> Is there any chance that the resulting value will somehow reflect to other PTVs?
no it should not.
> Since this filter is in effect, while I get the correct difference in
> days inside the relevant PTV, I also experiment a very odd behaviour.
> That is: when some other PTVs in the page are empty (not filled in)
> AND when these PTVs are used for calculations, such calculations are
> processed as if those other variables temporarily assumed the same
> value of number_of_days
> Also, some other calculated PTVs seem to get the same value.
> Which seems quite odd!
I have no idea what is going on.
I would need to see your whole form and template setup to asnalyse.
You could email me privately.
mailto:design at softflow.co.uk
More information about the pmwiki-users