Forums

How to show same variable in both body & footer

izindaba 30 Sep, 2009
Hi, a simple question - hoping for a simple answer. Am new to this. Have searched forum, but some answers seem too complex.
In my body, I have a variable, $Amt1 - no problem - it addes up and I can display it in each row.
But, I then want to display it as 'grand total' in the footer - there is no value in it.
How & where do I declare it in order for it to pass from Body to Footer?
Thanks
Izindaba
GreyHead 30 Sep, 2009
Hi Izindaba,

Try declaring it as global. In general if you can increment it in the row it ought to be available in the footer.

Bob
izindaba 30 Sep, 2009
Thanks - woudld I declare this in header then? Do I use the POST / GET variable fields at all?
Tried using global $Amt1 - but no joy - maybe theres a setting in Chrono Connectivity...?
Thanks for your swift reponses - much appreciated.
toto72 19 Nov, 2009
Hi izindaba, i have the same problem, have you solved it? Please, let me know.

Redards,
Salvatore
This topic is locked and no more replies can be posted.