10-15-2005, 01:26 AM
document.autoSumForm.shipping.value = (sh * 1) + (ww * 1);
I would like to pass that value on to a PHP variable. Can this be done?
10-15-2005, 03:08 AM
You would need to either submit the form to a php script:
or redirect to a php script using something like this:
Then in your php script use:
$input = $_REQUEST['shipping'];
The input variable would then contain the shipping value from your form.
10-15-2005, 07:49 AM
Ok thanks pccode....
10-19-2005, 12:57 AM
You could also store your calculated value as a 'hidden' type of input field and have it get passed along as a $_POST value...
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.