I think it must be a scope thing but just cant work it out
Posted: Thu Sep 25, 2008 8:02 am
Hi
I have got this working great, but I am completely at a loss as to why
my variable with the data for distance "$total_shipping_handling_new, the data gained using Google maps/Ajax, via a .PHP page
"works with an echo statement and prints ok but returns no value when
it is used on line 204, I think it must be a scope thing but just cant
seem to work it out, basically it is a hack to an existing shipping
rate option within a joomla/vurtumart site
I have made my comments in caps
http://92.48.69.178/standard_shipping.txt
Many thanks for sharing your knowledge
I have got this working great, but I am completely at a loss as to why
my variable with the data for distance "$total_shipping_handling_new, the data gained using Google maps/Ajax, via a .PHP page
"works with an echo statement and prints ok but returns no value when
it is used on line 204, I think it must be a scope thing but just cant
seem to work it out, basically it is a hack to an existing shipping
rate option within a joomla/vurtumart site
I have made my comments in caps
http://92.48.69.178/standard_shipping.txt
Many thanks for sharing your knowledge