10-15-2005, 12: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, 02: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, 06:49 AM
Ok thanks pccode....
10-18-2005, 11:57 PM
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 © 2017 vBulletin Solutions, Inc. All rights reserved.