mwalliser Posted November 13, 2007 Share Posted November 13, 2007 Hi! I have been working on a form for about a week now and am stuck! I hope someone can help lead me in the right direction... I am building a form that will be used to submit cash orders to the person who handles the vault at the bank I work for. The way it needs to work is that the person ordering the cash fills out the form with the dollar amount of each denomination that they wish to order. When submitted, an email is sent to the vault person as well as the information that was submitted is displayed on screen. The trick is that each row and column have to show the totals in them... like this: Output Example: Location | 50's | 20's | 10's | 5's | Total __________________________________ East | 20000 | 1000 | 100 | 300 | 21400 West | 10000 | 3000 | 200 | 100 | 13300 ---------------------------------------- Grand Total | 34700 I have gotten the form working so that it displays the page with all the ordered information and the totals. The main problem I am having is getting the emailed information to work the same way. I can get it to email the amounts that were entered for each denomination, however the totals don't work. I'm wondering if I need to have hidden fields on the front page of the form (where they enter and submit the info) that does the math there so that it can be passed to the form processor and be used in the email. If so, I have not had any luck finding any code examples to help. Can anyone out there help with this? If necessary, I can provide examples of my code. Quote Link to comment Share on other sites More sharing options...
grejon04 Posted November 13, 2007 Share Posted November 13, 2007 Maybe some code examples would help. Quote Link to comment Share on other sites More sharing options...
mwalliser Posted November 13, 2007 Author Share Posted November 13, 2007 Here's the code from the form processor... it's really long though cause there are so many fields that I am dealing with... The email part at the top... I know, I haven't finished building it yet... I figured there was no point until I got the first field working. <?php $to = "none@none.com"; $subject = "ATM Vault Shipment"; $body = "Today's Date: " . $_POST['date'] . "\n" . "Date of Shipment: " . $_POST['shipdate'] . "\n" . "Ordered By: " . $_POST['orderedby'] . "\n". "902 Gilmer East: 50s - " . $_POST['a902_50'] . " 20s - " . $_POST['a902_20'] . " 10s - " . $_POST['a902_10'] . " 5s - " . $_POST['a902_5'] . " Total - " .$_POST['a902total']; $headers = "From: " . $_POST['orderedby'] . "\n"; mail($to,$subject,$body,$headers); $date = $_POST['date']; $shipdate = $_POST['shipdate']; $orderedby = $_POST['orderedby']; $a902_50 = $_POST['a902_50']; $a902_20 = $_POST['a902_20']; $a902_10 = $_POST['a902_10']; $a902_5 = $_POST['a902_5']; $a903_50 = $_POST['a903_50']; $a903_20 = $_POST['a903_20']; $a903_10 = $_POST['a903_10']; $a903_5 = $_POST['a903_5']; $a906_50 = $_POST['a906_50']; $a906_20 = $_POST['a906_20']; $a906_10 = $_POST['a906_10']; $a906_5 = $_POST['a906_5']; $a907_50 = $_POST['a907_50']; $a907_20 = $_POST['a907_20']; $a907_10 = $_POST['a907_10']; $a907_5 = $_POST['a907_5']; $a915_50 = $_POST['a915_50']; $a915_20 = $_POST['a915_20']; $a915_10 = $_POST['a915_10']; $a915_5 = $_POST['a915_5']; $a916_50 = $_POST['a916_50']; $a916_20 = $_POST['a916_20']; $a916_10 = $_POST['a916_10']; $a916_5 = $_POST['a916_5']; $a917_50 = $_POST['a917_50']; $a917_20 = $_POST['a917_20']; $a917_10 = $_POST['a917_10']; $a917_5 = $_POST['a917_5']; $a921_50 = $_POST['a921_50']; $a921_20 = $_POST['a921_20']; $a921_10 = $_POST['a921_10']; $a921_5 = $_POST['a921_5']; $a941_50 = $_POST['a941_50']; $a941_20 = $_POST['a941_20']; $a941_10 = $_POST['a941_10']; $a941_5 = $_POST['a941_5']; $a942_50 = $_POST['a942_50']; $a942_20 = $_POST['a942_20']; $a942_10 = $_POST['a942_10']; $a942_5 = $_POST['a942_5']; $a944_50 = $_POST['a944_50']; $a944_20 = $_POST['a944_20']; $a944_10 = $_POST['a944_10']; $a944_5 = $_POST['a944_5']; $a945_50 = $_POST['a945_50']; $a945_20 = $_POST['a945_20']; $a945_10 = $_POST['a945_10']; $a945_5 = $_POST['a945_5']; $a936_50 = $_POST['a936_50']; $a936_20 = $_POST['a936_20']; $a936_10 = $_POST['a936_10']; $a936_5 = $_POST['a936_5']; $a947_50 = $_POST['a947_50']; $a947_20 = $_POST['a947_20']; $a947_10 = $_POST['a947_10']; $a947_5 = $_POST['a947_5']; $a948_50 = $_POST['a948_50']; $a948_20 = $_POST['a948_20']; $a948_10 = $_POST['a948_10']; $a948_5 = $_POST['a948_5']; $a949_50 = $_POST['a949_50']; $a949_20 = $_POST['a949_20']; $a949_10 = $_POST['a949_10']; $a949_5 = $_POST['a949_5']; $a950_50 = $_POST['a950_50']; $a950_20 = $_POST['a950_20']; $a950_10 = $_POST['a950_10']; $a950_5 = $_POST['a950_5']; $a952_50 = $_POST['a952_50']; $a952_20 = $_POST['a952_20']; $a952_10 = $_POST['a952_10']; $a952_5 = $_POST['a952_5']; $a953_50 = $_POST['a953_50']; $a953_20 = $_POST['a953_20']; $a953_10 = $_POST['a953_10']; $a953_5 = $_POST['a953_5']; $a955_50 = $_POST['a955_50']; $a955_20 = $_POST['a955_20']; $a955_10 = $_POST['a955_10']; $a955_5 = $_POST['a955_5']; $a956_50 = $_POST['a956_50']; $a956_20 = $_POST['a956_20']; $a956_10 = $_POST['a956_10']; $a956_5 = $_POST['a956_5']; $a961_50 = $_POST['a961_50']; $a961_20 = $_POST['a961_20']; $a961_10 = $_POST['a961_10']; $a961_5 = $_POST['a961_5']; $a962_50 = $_POST['a962_50']; $a962_20 = $_POST['a962_20']; $a962_10 = $_POST['a962_10']; $a962_5 = $_POST['a962_5']; $a963_50 = $_POST['a963_50']; $a963_20 = $_POST['a963_20']; $a963_10 = $_POST['a963_10']; $a963_5 = $_POST['a963_5']; $a901_50 = $_POST['a901_50']; $a901_20 = $_POST['a901_20']; $a901_10 = $_POST['a901_10']; $a901_5 = $_POST['a901_5']; $a904_50 = $_POST['a904_50']; $a904_20 = $_POST['a904_20']; $a904_10 = $_POST['a904_10']; $a904_5 = $_POST['a904_5']; $a910_50 = $_POST['a910_50']; $a910_20 = $_POST['a910_20']; $a910_10 = $_POST['a910_10']; $a910_5 = $_POST['a910_5']; $a911_50 = $_POST['a911_50']; $a911_20 = $_POST['a911_20']; $a911_10 = $_POST['a911_10']; $a911_5 = $_POST['a911_5']; $a912_50 = $_POST['a912_50']; $a912_20 = $_POST['a912_20']; $a912_10 = $_POST['a912_10']; $a912_5 = $_POST['a912_5']; $a920_50 = $_POST['a920_50']; $a920_20 = $_POST['a920_20']; $a920_10 = $_POST['a920_10']; $a920_5 = $_POST['a920_5']; $a922_50 = $_POST['a922_50']; $a922_20 = $_POST['a922_20']; $a922_10 = $_POST['a922_10']; $a922_5 = $_POST['a922_5']; $a923_50 = $_POST['a923_50']; $a923_20 = $_POST['a923_20']; $a923_10 = $_POST['a923_10']; $a923_5 = $_POST['a923_5']; $a924_50 = $_POST['a924_50']; $a924_20 = $_POST['a924_20']; $a924_10 = $_POST['a924_10']; $a924_5 = $_POST['a924_5']; $a928_50 = $_POST['a928_50']; $a928_20 = $_POST['a928_20']; $a928_10 = $_POST['a928_10']; $a928_5 = $_POST['a928_5']; $a929_50 = $_POST['a929_50']; $a929_20 = $_POST['a929_20']; $a929_10 = $_POST['a929_10']; $a929_5 = $_POST['a929_5']; $a930_50 = $_POST['a930_50']; $a930_20 = $_POST['a930_20']; $a930_10 = $_POST['a930_10']; $a930_5 = $_POST['a930_5']; $a931_50 = $_POST['a931_50']; $a931_20 = $_POST['a931_20']; $a931_10 = $_POST['a931_10']; $a931_5 = $_POST['a931_5']; $a932_50 = $_POST['a932_50']; $a932_20 = $_POST['a932_20']; $a932_10 = $_POST['a932_10']; $a932_5 = $_POST['a932_5']; $a933_50 = $_POST['a933_50']; $a933_20 = $_POST['a933_20']; $a933_10 = $_POST['a933_10']; $a933_5 = $_POST['a933_5']; $a934_50 = $_POST['a934_50']; $a934_20 = $_POST['a934_20']; $a934_10 = $_POST['a934_10']; $a934_5 = $_POST['a934_5']; $a935_50 = $_POST['a935_50']; $a935_20 = $_POST['a935_20']; $a935_10 = $_POST['a935_10']; $a935_5 = $_POST['a935_5']; $a937_50 = $_POST['a937_50']; $a937_20 = $_POST['a937_20']; $a937_10 = $_POST['a937_10']; $a937_5 = $_POST['a937_5']; $a938_50 = $_POST['a938_50']; $a938_20 = $_POST['a938_20']; $a938_10 = $_POST['a938_10']; $a938_5 = $_POST['a938_5']; $a939_50 = $_POST['a939_50']; $a939_20 = $_POST['a939_20']; $a939_10 = $_POST['a939_10']; $a939_5 = $_POST['a939_5']; $a951_50 = $_POST['a951_50']; $a951_20 = $_POST['a951_20']; $a951_10 = $_POST['a951_10']; $a951_5 = $_POST['a951_5']; $a965_50 = $_POST['a965_50']; $a965_20 = $_POST['a965_20']; $a965_10 = $_POST['a965_10']; $a965_5 = $_POST['a965_5']; $a966_50 = $_POST['a966_50']; $a966_20 = $_POST['a966_20']; $a966_10 = $_POST['a966_10']; $a966_5 = $_POST['a966_5']; $a967_50 = $_POST['a967_50']; $a967_20 = $_POST['a967_20']; $a967_10 = $_POST['a967_10']; $a967_5 = $_POST['a967_5']; $a968_50 = $_POST['a968_50']; $a968_20 = $_POST['a968_20']; $a968_10 = $_POST['a968_10']; $a968_5 = $_POST['a968_5']; $a970_50 = $_POST['a970_50']; $a970_20 = $_POST['a970_20']; $a970_10 = $_POST['a970_10']; $a970_5 = $_POST['a970_5']; $a971_50 = $_POST['a971_50']; $a971_20 = $_POST['a971_20']; $a971_10 = $_POST['a971_10']; $a971_5 = $_POST['a971_5']; $a972_50 = $_POST['a972_50']; $a972_20 = $_POST['a972_20']; $a972_10 = $_POST['a972_10']; $a972_5 = $_POST['a972_5']; $a973_50 = $_POST['a973_50']; $a973_20 = $_POST['a973_20']; $a973_10 = $_POST['a973_10']; $a973_5 = $_POST['a973_5']; $a974_50 = $_POST['a974_50']; $a974_20 = $_POST['a974_20']; $a974_10 = $_POST['a974_10']; $a974_5 = $_POST['a974_5']; $a975_50 = $_POST['a975_50']; $a975_20 = $_POST['a975_20']; $a975_10 = $_POST['a975_10']; $a975_5 = $_POST['a975_5']; $a976_50 = $_POST['a976_50']; $a976_20 = $_POST['a976_20']; $a976_10 = $_POST['a976_10']; $a976_5 = $_POST['a976_5']; $a978_50 = $_POST['a978_50']; $a978_20 = $_POST['a978_20']; $a978_10 = $_POST['a978_10']; $a978_5 = $_POST['a978_5']; $a902total = $_POST['a902total']; //Row Totals $a902total = $a902_50 + $a902_20 + $a902_10 + $a902_5; $a903total = $a903_50 + $a903_20 + $a903_10 + $a903_5; $a906total = $a906_50 + $a906_20 + $a906_10 + $a906_5; $a907total = $a907_50 + $a907_20 + $a907_10 + $a907_5; $a915total = $a915_50 + $a915_20 + $a915_10 + $a915_5; $a916total = $a916_50 + $a916_20 + $a916_10 + $a916_5; $a917total = $a917_50 + $a917_20 + $a917_10 + $a917_5; $a921total = $a921_50 + $a921_20 + $a921_10 + $a921_5; $a941total = $a941_50 + $a941_20 + $a941_10 + $a941_5; $a942total = $a942_50 + $a942_20 + $a942_10 + $a942_5; $a944total = $a944_50 + $a944_20 + $a944_10 + $a944_5; $a945total = $a945_50 + $a945_20 + $a945_10 + $a945_5; $a936total = $a936_50 + $a936_20 + $a936_10 + $a936_5; $a947total = $a947_50 + $a947_20 + $a947_10 + $a947_5; $a948total = $a948_50 + $a948_20 + $a948_10 + $a948_5; $a949total = $a949_50 + $a949_20 + $a949_10 + $a949_5; $a950total = $a950_50 + $a950_20 + $a950_10 + $a950_5; $a952total = $a952_50 + $a952_20 + $a952_10 + $a952_5; $a953total = $a953_50 + $a953_20 + $a953_10 + $a953_5; $a955total = $a955_50 + $a955_20 + $a955_10 + $a955_5; $a956total = $a956_50 + $a956_20 + $a956_10 + $a956_5; $a961total = $a961_50 + $a961_20 + $a961_10 + $a961_5; $a962total = $a962_50 + $a962_20 + $a962_10 + $a962_5; $a963total = $a963_50 + $a963_20 + $a963_10 + $a963_5; $a901total = $a901_50 + $a901_20 + $a901_10 + $a901_5; $a904total = $a904_50 + $a904_20 + $a904_10 + $a904_5; $a910total = $a910_50 + $a910_20 + $a910_10 + $a910_5; $a911total = $a911_50 + $a911_20 + $a911_10 + $a911_5; $a912total = $a912_50 + $a912_20 + $a912_10 + $a912_5; $a920total = $a920_50 + $a920_20 + $a920_10 + $a920_5; $a922total = $a922_50 + $a922_20 + $a922_10 + $a922_5; $a923total = $a923_50 + $a923_20 + $a923_10 + $a923_5; $a924total = $a924_50 + $a924_20 + $a924_10 + $a924_5; $a928total = $a928_50 + $a928_20 + $a928_10 + $a928_5; $a929total = $a929_50 + $a929_20 + $a929_10 + $a929_5; $a930total = $a930_50 + $a930_20 + $a930_10 + $a930_5; $a931total = $a931_50 + $a931_20 + $a931_10 + $a931_5; $a932total = $a932_50 + $a932_20 + $a932_10 + $a932_5; $a933total = $a933_50 + $a933_20 + $a933_10 + $a933_5; $a934total = $a934_50 + $a934_20 + $a934_10 + $a934_5; $a935total = $a935_50 + $a935_20 + $a935_10 + $a935_5; $a937total = $a937_50 + $a937_20 + $a937_10 + $a937_5; $a938total = $a938_50 + $a938_20 + $a938_10 + $a938_5; $a939total = $a939_50 + $a939_20 + $a939_10 + $a939_5; $a951total = $a951_50 + $a951_20 + $a951_10 + $a951_5; $a965total = $a965_50 + $a965_20 + $a965_10 + $a965_5; $a966total = $a966_50 + $a966_20 + $a966_10 + $a966_5; $a967total = $a967_50 + $a967_20 + $a967_10 + $a967_5; $a968total = $a968_50 + $a968_20 + $a968_10 + $a968_5; $a970total = $a970_50 + $a970_20 + $a970_10 + $a970_5; $a971total = $a971_50 + $a971_20 + $a971_10 + $a971_5; $a972total = $a972_50 + $a972_20 + $a972_10 + $a972_5; $a973total = $a973_50 + $a973_20 + $a973_10 + $a973_5; $a974total = $a974_50 + $a974_20 + $a974_10 + $a974_5; $a975total = $a975_50 + $a975_20 + $a975_10 + $a975_5; $a976total = $a976_50 + $a976_20 + $a976_10 + $a976_5; $a978total = $a978_50 + $a978_20 + $a978_10 + $a978_5; //Column Totals $total50 = $a902_50 + $a903_50 + $a906_50 + $a907_50 + $a915_50 + $a916_50 + $a917_50 + $a921_50 + $a941_50 + $a942_50 + $a944_50 + $a945_50 + $a936_50 + $a947_50 + $a948_50 + $a949_50 + $a950_50 + $a952_50 + $a953_50 + $a955_50 + $a956_50 + $a961_50 + $a962_50 + $a963_50 + $a901_50 + $a904_50 + $a910_50 + $a911_50 + $a912_50 + $a920_50 + $a922_50 + $a923_50 + $a924_50 + $a928_50 + $a929_50 + $a930_50 + $a931_50 + $a932_50 + $a933_50 + $a934_50 + $a935_50 + $a937_50 + $a938_50 + $a939_50 + $a951_50 + $a965_50 + $a966_50 + $a967_50 + $a968_50 + $a970_50 + $a971_50 + $a972_50 + $a973_50 + $a974_50 + $a975_50 + $a976_50 + $a978_50; $total20 = $a902_20 + $a903_20 + $a906_20 + $a907_20 + $a915_20 + $a916_20 + $a917_20 + $a921_20 + $a941_20 + $a942_20 + $a944_20 + $a945_20 + $a936_20 + $a947_20 + $a948_20 + $a949_20 + $a950_20 + $a952_20 + $a953_20 + $a955_20 + $a956_20 + $a961_20 + $a962_20 + $a963_20 + $a901_20 + $a904_20 + $a910_20 + $a911_20 + $a912_20 + $a920_20 + $a922_20 + $a923_20 + $a924_20 + $a928_20 + $a929_20 + $a930_20 + $a931_20 + $a932_20 + $a933_20 + $a934_20 + $a935_20 + $a937_20 + $a938_20 + $a939_20 + $a951_20 + $a965_20 + $a966_20 + $a967_20 + $a968_20 + $a970_20 + $a971_20 + $a972_20 + $a973_20 + $a974_20 + $a975_20 + $a976_20 + $a978_20; $total10 = $a902_10 + $a903_10 + $a906_10 + $a907_10 + $a915_10 + $a916_10 + $a917_10 + $a921_10 + $a941_10 + $a942_10 + $a944_10 + $a945_10 + $a936_10 + $a947_10 + $a948_10 + $a949_10 + $a950_10 + $a952_10 + $a953_10 + $a955_10 + $a956_10 + $a961_10 + $a962_10 + $a963_10 + $a901_10 + $a904_10 + $a910_10 + $a911_10 + $a912_10 + $a920_10 + $a922_10 + $a923_10 + $a924_10 + $a928_10 + $a929_10 + $a930_10 + $a931_10 + $a932_10 + $a933_10 + $a934_10 + $a935_10 + $a937_10 + $a938_10 + $a939_10 + $a951_10 + $a965_10 + $a966_10 + $a967_10 + $a968_10 + $a970_10 + $a971_10 + $a972_10 + $a973_10 + $a974_10 + $a975_10 + $a976_10 + $a978_10; $total5 = $a902_5 + $a903_5 + $a906_5 + $a907_5 + $a915_5 + $a916_5 + $a917_5 + $a921_5 + $a941_5 + $a942_5 + $a944_5 + $a945_5 + $a936_5 + $a947_5 + $a948_5 + $a949_5 + $a950_5 + $a952_5 + $a953_5 + $a955_5 + $a956_5 + $a961_5 + $a962_5 + $a963_5 + $a901_5 + $a904_5 + $a910_5 + $a911_5 + $a912_5 + $a920_5 + $a922_5 + $a923_5 + $a924_5 + $a928_5 + $a929_5 + $a930_5 + $a931_5 + $a932_5 + $a933_5 + $a934_5 + $a935_5 + $a937_5 + $a938_5 + $a939_5 + $a951_5 + $a965_5 + $a966_5 + $a967_5 + $a968_5 + $a970_5 + $a971_5 + $a972_5 + $a973_5 + $a974_5 + $a975_5 + $a976_5 + $a978_5; $grandtotal = $a902total + $a903total + $a906total + $a907total + $a915total + $a916total + $a917total + $a921total + $a941total + $a942total + $a944total + $a945total + $a936total + $a947total + $a948total + $a949total + $a950total + $a952total + $a953total + $a955total + $a956total + $a961total + $a962total + $a963total + $a901total + $a904total + $a910total + $a911total + $a912total + $a920total + $a922total + $a923total + $a924total + $a928total + $a929total + $a930total + $a931total + $a932total + $a933total + $a934total + $a935total + $a937total + $a938total + $a939total + $a951total + $a965total + $a966total + $a967total + $a968total + $a970total + $a971total + $a972total + $a973total + $a974total + $a975total + $a976total + $a978total; ?> <html> <head> <title>ATM Vault Shipment</title> </head> <body> <?php include("../../../header.php"); ?> <?php include("../../../menu.php"); ?> <div id="content"> <h2>Thank you, your order has been placed.</h2> <?php echo '<p>Todays Date: '; echo $date; echo '<br />'; echo 'Date of Shipment: '; echo $shipdate; echo '<br />'; echo 'Ordered By: '; echo $orderedby ; echo '</p>'; ?> <p>You placed the following order:</p> <table width="600" border="1" cellpadding="3" cellspacing="0"> <tr> <th scope="col">ATM # </th> <th scope="col">Site Location </th> <th scope="col">$50's</th> <th scope="col">$20's</th> <th scope="col">$10's</th> <th scope="col">$5's</th> <th scope="col">Total</th> <th scope="col">Signature</th> </tr> <tr> <td>902 </td> <td>Gilmer East </td> <td><?php echo $a902_50; ?></td> <td><?php echo $a902_20; ?></td> <td><?php echo $a902_10; ?></td> <td><?php echo $a902_5; ?></td> <td><?php echo $a902total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>903</td> <td>Gilmer West </td> <td><?php echo $a903_50; ?></td> <td><?php echo $a903_20; ?></td> <td><?php echo $a903_10; ?></td> <td><?php echo $a903_5; ?></td> <td><?php echo $a903total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>906</td> <td>WRBO - Lane 6 </td> <td><?php echo $a906_50; ?></td> <td><?php echo $a906_20; ?></td> <td><?php echo $a906_10; ?></td> <td><?php echo $a906_5; ?></td> <td><?php echo $a906total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>907</td> <td>WRBO - Lane 7 </td> <td><?php echo $a907_50; ?></td> <td><?php echo $a907_20; ?></td> <td><?php echo $a907_10; ?></td> <td><?php echo $a907_5; ?></td> <td><?php echo $a907total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>915</td> <td>SoPkwy Kiosk </td> <td><?php echo $a915_50; ?></td> <td><?php echo $a915_20; ?></td> <td><?php echo $a915_10; ?></td> <td><?php echo $a915_5; ?></td> <td><?php echo $a915total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>916</td> <td>M Plaza East </td> <td><?php echo $a916_50; ?></td> <td><?php echo $a916_20; ?></td> <td><?php echo $a916_10; ?></td> <td><?php echo $a916_5; ?></td> <td><?php echo $a916total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>917</td> <td>M Plaza West </td> <td><?php echo $a917_50; ?></td> <td><?php echo $a917_20; ?></td> <td><?php echo $a917_10; ?></td> <td><?php echo $a917_5; ?></td> <td><?php echo $a917total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>921</td> <td>Chrysler</td> <td><?php echo $a921_50; ?></td> <td><?php echo $a921_20; ?></td> <td><?php echo $a921_10; ?></td> <td><?php echo $a921_5; ?></td> <td><?php echo $a921total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>941</td> <td>MBO - Lane 9 </td> <td><?php echo $a941_50; ?></td> <td><?php echo $a941_20; ?></td> <td><?php echo $a941_10; ?></td> <td><?php echo $a941_5; ?></td> <td><?php echo $a941total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>942</td> <td>MBO - Lane 10 </td> <td><?php echo $a942_50; ?></td> <td><?php echo $a942_20; ?></td> <td><?php echo $a942_10; ?></td> <td><?php echo $a942_5; ?></td> <td><?php echo $a942total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>944</td> <td>HWY 72 - Lane 7 </td> <td><?php echo $a944_50; ?></td> <td><?php echo $a944_20; ?></td> <td><?php echo $a944_10; ?></td> <td><?php echo $a944_5; ?></td> <td><?php echo $a944total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>945</td> <td>HWY 72 - Lane 8 </td> <td><?php echo $a945_50; ?></td> <td><?php echo $a945_20; ?></td> <td><?php echo $a945_10; ?></td> <td><?php echo $a945_5; ?></td> <td><?php echo $a945total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>936</td> <td>North Parkway Lane 1 </td> <td><?php echo $a936_50; ?></td> <td><?php echo $a936_20; ?></td> <td><?php echo $a936_10; ?></td> <td><?php echo $a936_5; ?></td> <td><?php echo $a936total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>947</td> <td>NoPkwy - Lane 9 </td> <td><?php echo $a947_50; ?></td> <td><?php echo $a947_20; ?></td> <td><?php echo $a947_10; ?></td> <td><?php echo $a947_5; ?></td> <td><?php echo $a947total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>948</td> <td>NoPkwy - Lane 10 </td> <td><?php echo $a948_50; ?></td> <td><?php echo $a948_20; ?></td> <td><?php echo $a948_10; ?></td> <td><?php echo $a948_5; ?></td> <td><?php echo $a948total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>949</td> <td>Bradford South </td> <td><?php echo $a949_50; ?></td> <td><?php echo $a949_20; ?></td> <td><?php echo $a949_10; ?></td> <td><?php echo $a949_5; ?></td> <td><?php echo $a949total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>950</td> <td>Bradford North </td> <td><?php echo $a950_50; ?></td> <td><?php echo $a950_20; ?></td> <td><?php echo $a950_10; ?></td> <td><?php echo $a950_5; ?></td> <td><?php echo $a950total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>952</td> <td>6th Ave - Lane 7 </td> <td><?php echo $a952_50; ?></td> <td><?php echo $a952_20; ?></td> <td><?php echo $a952_10; ?></td> <td><?php echo $a952_5; ?></td> <td><?php echo $a952total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>953</td> <td>6th Ave - Lane 8 </td> <td><?php echo $a953_50; ?></td> <td><?php echo $a953_20; ?></td> <td><?php echo $a953_10; ?></td> <td><?php echo $a953_5; ?></td> <td><?php echo $a953total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>955</td> <td>Hobbs Rd - Lane a9 </td> <td><?php echo $a955_50; ?></td> <td><?php echo $a955_20; ?></td> <td><?php echo $a955_10; ?></td> <td><?php echo $a955_5; ?></td> <td><?php echo $a955total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>956</td> <td>Hobbs Rd - Lane 10 </td> <td><?php echo $a956_50; ?></td> <td><?php echo $a956_20; ?></td> <td><?php echo $a956_10; ?></td> <td><?php echo $a956_5; ?></td> <td><?php echo $a956total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>961</td> <td>Decatur Beltline</td> <td><?php echo $a961_50; ?></td> <td><?php echo $a961_20; ?></td> <td><?php echo $a961_10; ?></td> <td><?php echo $a961_5; ?></td> <td><?php echo $a961total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>962</td> <td>Big Cove Stand Alone </td> <td><?php echo $a962_50; ?></td> <td><?php echo $a962_20; ?></td> <td><?php echo $a962_10; ?></td> <td><?php echo $a962_5; ?></td> <td><?php echo $a962total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>963</td> <td>Big Cove Branch </td> <td><?php echo $a963_50; ?></td> <td><?php echo $a963_20; ?></td> <td><?php echo $a963_10; ?></td> <td><?php echo $a963_5; ?></td> <td><?php echo $a963total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>901</td> <td>EdTech</td> <td><?php echo $a901_50; ?></td> <td><?php echo $a901_20; ?></td> <td><?php echo $a901_10; ?></td> <td><?php echo $a901_5; ?></td> <td><?php echo $a901total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>904</td> <td>Shell - Hartselle </td> <td><?php echo $a904_50; ?></td> <td><?php echo $a904_20; ?></td> <td><?php echo $a904_10; ?></td> <td><?php echo $a904_5; ?></td> <td><?php echo $a904total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>910</td> <td>Aerobee</td> <td><?php echo $a910_50; ?></td> <td><?php echo $a910_20; ?></td> <td><?php echo $a910_10; ?></td> <td><?php echo $a910_5; ?></td> <td><?php echo $a910total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>911</td> <td>Boeing</td> <td><?php echo $a911_50; ?></td> <td><?php echo $a911_20; ?></td> <td><?php echo $a911_10; ?></td> <td><?php echo $a911_5; ?></td> <td><?php echo $a911total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>912</td> <td>Steelcase</td> <td><?php echo $a912_50; ?></td> <td><?php echo $a912_20; ?></td> <td><?php echo $a912_10; ?></td> <td><?php echo $a912_5; ?></td> <td><?php echo $a912total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>920</td> <td>Dynetics</td> <td><?php echo $a920_50; ?></td> <td><?php echo $a920_20; ?></td> <td><?php echo $a920_10; ?></td> <td><?php echo $a920_5; ?></td> <td><?php echo $a920total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>922</td> <td>Sparkman Center </td> <td><?php echo $a922_50; ?></td> <td><?php echo $a922_20; ?></td> <td><?php echo $a922_10; ?></td> <td><?php echo $a922_5; ?></td> <td><?php echo $a922total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>923</td> <td>Adtran East </td> <td><?php echo $a923_50; ?></td> <td><?php echo $a923_20; ?></td> <td><?php echo $a923_10; ?></td> <td><?php echo $a923_5; ?></td> <td><?php echo $a923total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>924</td> <td>Adtran North </td> <td><?php echo $a924_50; ?></td> <td><?php echo $a924_20; ?></td> <td><?php echo $a924_10; ?></td> <td><?php echo $a924_5; ?></td> <td><?php echo $a924total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>928</td> <td>Conoco - Hazel Green </td> <td><?php echo $a928_50; ?></td> <td><?php echo $a928_20; ?></td> <td><?php echo $a928_10; ?></td> <td><?php echo $a928_5; ?></td> <td><?php echo $a928total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>929</td> <td>Citgo - Hwy 72 East </td> <td><?php echo $a929_50; ?></td> <td><?php echo $a929_20; ?></td> <td><?php echo $a929_10; ?></td> <td><?php echo $a929_5; ?></td> <td><?php echo $a929total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>930</td> <td>Jackson County Hospital </td> <td><?php echo $a930_50; ?></td> <td><?php echo $a930_20; ?></td> <td><?php echo $a930_10; ?></td> <td><?php echo $a930_5; ?></td> <td><?php echo $a930total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>931</td> <td>Chevron - Moore's Mill </td> <td><?php echo $a931_50; ?></td> <td><?php echo $a931_20; ?></td> <td><?php echo $a931_10; ?></td> <td><?php echo $a931_5; ?></td> <td><?php echo $a931total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>932</td> <td>Fayetteville Citgo</td> <td><?php echo $a932_50; ?></td> <td><?php echo $a932_20; ?></td> <td><?php echo $a932_10; ?></td> <td><?php echo $a932_5; ?></td> <td><?php echo $a932total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>933</td> <td>NASA</td> <td><?php echo $a933_50; ?></td> <td><?php echo $a933_20; ?></td> <td><?php echo $a933_10; ?></td> <td><?php echo $a933_5; ?></td> <td><?php echo $a933total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>934</td> <td>Sur-Sav Pharmacy </td> <td><?php echo $a934_50; ?></td> <td><?php echo $a934_20; ?></td> <td><?php echo $a934_10; ?></td> <td><?php echo $a934_5; ?></td> <td><?php echo $a934total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>935</td> <td>Building 5250 </td> <td><?php echo $a935_50; ?></td> <td><?php echo $a935_20; ?></td> <td><?php echo $a935_10; ?></td> <td><?php echo $a935_5; ?></td> <td><?php echo $a935total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>937</td> <td>DirecTV</td> <td><?php echo $a937_50; ?></td> <td><?php echo $a937_20; ?></td> <td><?php echo $a937_10; ?></td> <td><?php echo $a937_5; ?></td> <td><?php echo $a937total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>938</td> <td>Huntsville Hospital </td> <td><?php echo $a938_50; ?></td> <td><?php echo $a938_20; ?></td> <td><?php echo $a938_10; ?></td> <td><?php echo $a938_5; ?></td> <td><?php echo $a938total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>939</td> <td>Shell - Ardmore </td> <td><?php echo $a939_50; ?></td> <td><?php echo $a939_20; ?></td> <td><?php echo $a939_10; ?></td> <td><?php echo $a939_5; ?></td> <td><?php echo $a939total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>951</td> <td>Joe's Pharmacy </td> <td><?php echo $a951_50; ?></td> <td><?php echo $a951_20; ?></td> <td><?php echo $a951_10; ?></td> <td><?php echo $a951_5; ?></td> <td><?php echo $a951total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>965</td> <td>Redstone Lanes </td> <td><?php echo $a965_50; ?></td> <td><?php echo $a965_20; ?></td> <td><?php echo $a965_10; ?></td> <td><?php echo $a965_5; ?></td> <td><?php echo $a965total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>966</td> <td>5 Points East</td> <td><?php echo $a966_50; ?></td> <td><?php echo $a966_20; ?></td> <td><?php echo $a966_10; ?></td> <td><?php echo $a966_5; ?></td> <td><?php echo $a966total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>967</td> <td>5 Points West</td> <td><?php echo $a967_50; ?></td> <td><?php echo $a967_20; ?></td> <td><?php echo $a967_10; ?></td> <td><?php echo $a967_5; ?></td> <td><?php echo $a967total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>968</td> <td>Winchester Rd South </td> <td><?php echo $a968_50; ?></td> <td><?php echo $a968_20; ?></td> <td><?php echo $a968_10; ?></td> <td><?php echo $a968_5; ?></td> <td><?php echo $a968total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>970</td> <td>Blue Roof Cafe</td> <td><?php echo $a970_50; ?></td> <td><?php echo $a970_20; ?></td> <td><?php echo $a970_10; ?></td> <td><?php echo $a970_5; ?></td> <td><?php echo $a970total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>971</td> <td>Embassy Suites</td> <td><?php echo $a971_50; ?></td> <td><?php echo $a971_20; ?></td> <td><?php echo $a971_10; ?></td> <td><?php echo $a971_5; ?></td> <td><?php echo $a971total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>972</td> <td>Building 5220</td> <td><?php echo $a972_50; ?></td> <td><?php echo $a972_20; ?></td> <td><?php echo $a972_10; ?></td> <td><?php echo $a972_5; ?></td> <td><?php echo $a972total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>973</td> <td>Med Mall </td> <td><?php echo $a973_50; ?></td> <td><?php echo $a973_20; ?></td> <td><?php echo $a973_10; ?></td> <td><?php echo $a973_5; ?></td> <td><?php echo $a973total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>974</td> <td>Food Valu</td> <td><?php echo $a974_50; ?></td> <td><?php echo $a974_20; ?></td> <td><?php echo $a974_10; ?></td> <td><?php echo $a974_5; ?></td> <td><?php echo $a974total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>975</td> <td>Building 5400</td> <td><?php echo $a975_50; ?></td> <td><?php echo $a975_20; ?></td> <td><?php echo $a975_10; ?></td> <td><?php echo $a975_5; ?></td> <td><?php echo $a975total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>976</td> <td>Hwy 53 E</td> <td><?php echo $a976_50; ?></td> <td><?php echo $a976_20; ?></td> <td><?php echo $a976_10; ?></td> <td><?php echo $a976_5; ?></td> <td><?php echo $a976total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td>978</td> <td>Athens/Limestone Hospital</td> <td><?php echo $a978_50; ?></td> <td><?php echo $a978_20; ?></td> <td><?php echo $a978_10; ?></td> <td><?php echo $a978_5; ?></td> <td><?php echo $a978total; ?></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> <tr> <td> </td> <td><strong>Grand Totals:</strong></td> <td><strong><?php echo $total50; ?></strong></td> <td><strong><?php echo $total20; ?></strong></td> <td><strong><?php echo $total10; ?></strong></td> <td><strong><?php echo $total5; ?></strong></td> <td><strong><?php echo $grandtotal; ?></strong></td> <td><input type="text" size="30" class="clearcellborder" /></td> </tr> </table> Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 13, 2007 Share Posted November 13, 2007 I think this code can be simplified a lot by using arrays. Can you post the source code for your form? Ken Quote Link to comment Share on other sites More sharing options...
mwalliser Posted November 13, 2007 Author Share Posted November 13, 2007 Yeah... if there is a way to simplify all this, please let me know! I obviously don't know much about PHP... just a few little bits that have gotten me by so far. Thanks for any help! Here's the code for the form: <form id="vault_atm" name="vault_atm" method="post" action="sent.php"> <h2>ATM Vault Shipment</h2> <p><label>Today's Date:</label> <input name="date" type="text" /><br /> <label>Date of Shipment:</label> <input type="shipdate" name="shipdate" /><br /> <label>Ordered By:</label> <input type="orderedby" name="orderedby" /></p> <span class="disclosures">Please enter dollar amount only, do not use symbols ($,.).</span><br /> <table width="600" border="0" cellpadding="3" cellspacing="0"> <tr> <th scope="col">ATM # </th> <th scope="col">Site Location </th> <th scope="col">$50's</th> <th scope="col">$20's</th> <th scope="col">$10's</th> <th scope="col">$5's</th> </tr> <tr> <td>902 </td> <td>Gilmer East </td> <td><input name="a902_50" type="text" class="input_borderless" id="a902_50" size="10" /></td> <td><input name="a902_20" type="text" class="input_borderless" id="a902_20" size="10" /></td> <td><input name="a902_10" type="text" class="input_borderless" id="a902_10" size="10" /></td> <td><input name="a902_5" type="text" class="input_borderless" id="a902_5" size="10" /></td> </tr> <tr> <td>903</td> <td>Gilmer West </td> <td><input name="a903_50" type="text" class="input_borderless" id="a903_50" size="10" /></td> <td><input name="a903_20" type="text" class="input_borderless" id="a903_20" size="10" /></td> <td><input name="a903_10" type="text" class="input_borderless" id="a903_10" size="10" /></td> <td><input name="a903_5" type="text" class="input_borderless" id="a903_5" size="10" /></td> </tr> <tr> <td>906</td> <td>WRBO - Lane 6 </td> <td><input name="a906_50" type="text" class="input_borderless" id="a906_50" size="10" /></td> <td><input name="a906_20" type="text" class="input_borderless" id="a906_20" size="10" /></td> <td><input name="a906_10" type="text" class="input_borderless" id="a906_10" size="10" /></td> <td><input name="a906_5" type="text" class="input_borderless" id="a906_5" size="10" /></td> </tr> <tr> <td>907</td> <td>WRBO - Lane 7 </td> <td><input name="a907_50" type="text" class="input_borderless" id="a907_50" size="10" /></td> <td><input name="a907_20" type="text" class="input_borderless" id="a907_20" size="10" /></td> <td><input name="a907_10" type="text" class="input_borderless" id="a907_10" size="10" /></td> <td><input name="a907_5" type="text" class="input_borderless" id="a907_5" size="10" /></td> </tr> <tr> <td>915</td> <td>SoPkwy Kiosk </td> <td><input name="a915_50" type="text" class="input_borderless" id="a915_50" size="10" /></td> <td><input name="a915_20" type="text" class="input_borderless" id="a915_20" size="10" /></td> <td><input name="a915_10" type="text" class="input_borderless" id="a915_10" size="10" /></td> <td><input name="a915_5" type="text" class="input_borderless" id="a915_5" size="10" /></td> </tr> <tr> <td>916</td> <td>M Plaza East </td> <td><input name="a916_50" type="text" class="input_borderless" id="a916_50" size="10" /></td> <td><input name="a916_20" type="text" class="input_borderless" id="a916_20" size="10" /></td> <td><input name="a916_10" type="text" class="input_borderless" id="a916_10" size="10" /></td> <td><input name="a916_5" type="text" class="input_borderless" id="a916_5" size="10" /></td> </tr> <tr> <td>917</td> <td>M Plaza West </td> <td><input name="a917_50" type="text" class="input_borderless" id="a917_50" size="10" /></td> <td><input name="a917_20" type="text" class="input_borderless" id="a917_20" size="10" /></td> <td><input name="a917_10" type="text" class="input_borderless" id="a917_10" size="10" /></td> <td><input name="a917_5" type="text" class="input_borderless" id="a917_5" size="10" /></td> </tr> <tr> <td>921</td> <td>Chrysler</td> <td><input name="a921_50" type="text" class="input_borderless" id="a921_50" size="10" /></td> <td><input name="a921_20" type="text" class="input_borderless" id="a921_20" size="10" /></td> <td><input name="a921_10" type="text" class="input_borderless" id="a921_10" size="10" /></td> <td><input name="a921_5" type="text" class="input_borderless" id="a921_5" size="10" /></td> </tr> <tr> <td>941</td> <td>MBO - Lane a9 </td> <td><input name="a941_50" type="text" class="input_borderless" id="a941_50" size="10" /></td> <td><input name="a941_20" type="text" class="input_borderless" id="a941_20" size="10" /></td> <td><input name="a941_10" type="text" class="input_borderless" id="a941_10" size="10" /></td> <td><input name="a941_5" type="text" class="input_borderless" id="a941_5" size="10" /></td> </tr> <tr> <td>942</td> <td>MBO - Lane 10 </td> <td><input name="a942_50" type="text" class="input_borderless" id="a942_50" size="10" /></td> <td><input name="a942_20" type="text" class="input_borderless" id="a942_20" size="10" /></td> <td><input name="a942_10" type="text" class="input_borderless" id="a942_10" size="10" /></td> <td><input name="a942_5" type="text" class="input_borderless" id="a942_5" size="10" /></td> </tr> <tr> <td>944</td> <td>HWY 72 - Lane 7 </td> <td><input name="a944_50" type="text" class="input_borderless" id="a944_50" size="10" /></td> <td><input name="a944_20" type="text" class="input_borderless" id="a944_20" size="10" /></td> <td><input name="a944_10" type="text" class="input_borderless" id="a944_10" size="10" /></td> <td><input name="a944_5" type="text" class="input_borderless" id="a944_5" size="10" /></td> </tr> <tr> <td>945</td> <td>HWY 72 - Lane 8 </td> <td><input name="a945_50" type="text" class="input_borderless" id="a945_50" size="10" /></td> <td><input name="a945_20" type="text" class="input_borderless" id="a945_20" size="10" /></td> <td><input name="a945_10" type="text" class="input_borderless" id="a945_10" size="10" /></td> <td><input name="a945_5" type="text" class="input_borderless" id="a945_5" size="10" /></td> </tr> <tr> <td>936</td> <td>North Parkway Lane 1 </td> <td><input name="a936_50" type="text" class="input_borderless" id="a936_50" size="10" /></td> <td><input name="a936_20" type="text" class="input_borderless" id="a936_20" size="10" /></td> <td><input name="a936_10" type="text" class="input_borderless" id="a936_10" size="10" /></td> <td><input name="a936_5" type="text" class="input_borderless" id="a936_5" size="10" /></td> </tr> <tr> <td>947</td> <td>NoPkwy - Lane a9 </td> <td><input name="a947_50" type="text" class="input_borderless" id="a947_50" size="10" /></td> <td><input name="a947_20" type="text" class="input_borderless" id="a947_20" size="10" /></td> <td><input name="a947_10" type="text" class="input_borderless" id="a947_10" size="10" /></td> <td><input name="a947_5" type="text" class="input_borderless" id="a947_5" size="10" /></td> </tr> <tr> <td>948</td> <td>NoPkwy - Lane 10 </td> <td><input name="a948_50" type="text" class="input_borderless" id="a948_50" size="10" /></td> <td><input name="a948_20" type="text" class="input_borderless" id="a948_20" size="10" /></td> <td><input name="a948_10" type="text" class="input_borderless" id="a948_10" size="10" /></td> <td><input name="a948_5" type="text" class="input_borderless" id="a948_5" size="10" /></td> </tr> <tr> <td>94a9</td> <td>Bradford South </td> <td><input name="a94a9_50" type="text" class="input_borderless" id="a94a9_50" size="10" /></td> <td><input name="a94a9_20" type="text" class="input_borderless" id="a94a9_20" size="10" /></td> <td><input name="a94a9_10" type="text" class="input_borderless" id="a94a9_10" size="10" /></td> <td><input name="a94a9_5" type="text" class="input_borderless" id="a94a9_5" size="10" /></td> </tr> <tr> <td>950</td> <td>Bradford North </td> <td><input name="a950_50" type="text" class="input_borderless" id="a950_50" size="10" /></td> <td><input name="a950_20" type="text" class="input_borderless" id="a950_20" size="10" /></td> <td><input name="a950_10" type="text" class="input_borderless" id="a950_10" size="10" /></td> <td><input name="a950_5" type="text" class="input_borderless" id="a950_5" size="10" /></td> </tr> <tr> <td>952</td> <td>6th Ave - Lane 7 </td> <td><input name="a952_50" type="text" class="input_borderless" id="a952_50" size="10" /></td> <td><input name="a952_20" type="text" class="input_borderless" id="a952_20" size="10" /></td> <td><input name="a952_10" type="text" class="input_borderless" id="a952_10" size="10" /></td> <td><input name="a952_5" type="text" class="input_borderless" id="a952_5" size="10" /></td> </tr> <tr> <td>953</td> <td>6th Ave - Lane 8 </td> <td><input name="a953_50" type="text" class="input_borderless" id="a953_50" size="10" /></td> <td><input name="a953_20" type="text" class="input_borderless" id="a953_20" size="10" /></td> <td><input name="a953_10" type="text" class="input_borderless" id="a953_10" size="10" /></td> <td><input name="a953_5" type="text" class="input_borderless" id="a953_5" size="10" /></td> </tr> <tr> <td>955</td> <td>Hobbs Rd - Lane a9 </td> <td><input name="a955_50" type="text" class="input_borderless" id="a955_50" size="10" /></td> <td><input name="a955_20" type="text" class="input_borderless" id="a955_20" size="10" /></td> <td><input name="a955_10" type="text" class="input_borderless" id="a955_10" size="10" /></td> <td><input name="a955_5" type="text" class="input_borderless" id="a955_5" size="10" /></td> </tr> <tr> <td>956</td> <td>Hobbs Rd - Lane 10 </td> <td><input name="a956_50" type="text" class="input_borderless" id="a956_50" size="10" /></td> <td><input name="a956_20" type="text" class="input_borderless" id="a956_20" size="10" /></td> <td><input name="a956_10" type="text" class="input_borderless" id="a956_10" size="10" /></td> <td><input name="a956_5" type="text" class="input_borderless" id="a956_5" size="10" /></td> </tr> <tr> <td>961</td> <td>Decatur Beltline</td> <td><input name="a961_50" type="text" class="input_borderless" id="a961_50" size="10" /></td> <td><input name="a961_20" type="text" class="input_borderless" id="a961_20" size="10" /></td> <td><input name="a961_10" type="text" class="input_borderless" id="a961_10" size="10" /></td> <td><input name="a961_5" type="text" class="input_borderless" id="a961_5" size="10" /></td> </tr> <tr> <td>962</td> <td>Big Cove Stand Alone </td> <td><input name="a962_50" type="text" class="input_borderless" id="a962_50" size="10" /></td> <td><input name="a962_20" type="text" class="input_borderless" id="a962_20" size="10" /></td> <td><input name="a962_10" type="text" class="input_borderless" id="a962_10" size="10" /></td> <td><input name="a962_5" type="text" class="input_borderless" id="a962_5" size="10" /></td> </tr> <tr> <td>963</td> <td>Big Cove Branch </td> <td><input name="a963_50" type="text" class="input_borderless" id="a963_50" size="10" /></td> <td><input name="a963_20" type="text" class="input_borderless" id="a963_20" size="10" /></td> <td><input name="a963_10" type="text" class="input_borderless" id="a963_10" size="10" /></td> <td><input name="a963_5" type="text" class="input_borderless" id="a963_5" size="10" /></td> </tr> <tr> <td>901</td> <td>EdTech</td> <td><input name="a901_50" type="text" class="input_borderless" id="a901_50" size="10" /></td> <td><input name="a901_20" type="text" class="input_borderless" id="a901_20" size="10" /></td> <td><input name="a901_10" type="text" class="input_borderless" id="a901_10" size="10" /></td> <td><input name="a901_5" type="text" class="input_borderless" id="a901_5" size="10" /></td> </tr> <tr> <td>904</td> <td>Shell - Hartselle </td> <td><input name="a904_50" type="text" class="input_borderless" id="a904_50" size="10" /></td> <td><input name="a904_20" type="text" class="input_borderless" id="a904_20" size="10" /></td> <td><input name="a904_10" type="text" class="input_borderless" id="a904_10" size="10" /></td> <td><input name="a904_5" type="text" class="input_borderless" id="a904_5" size="10" /></td> </tr> <tr> <td>910</td> <td>Aerobee</td> <td><input name="a910_50" type="text" class="input_borderless" id="a910_50" size="10" /></td> <td><input name="a910_20" type="text" class="input_borderless" id="a910_20" size="10" /></td> <td><input name="a910_10" type="text" class="input_borderless" id="a910_10" size="10" /></td> <td><input name="a910_5" type="text" class="input_borderless" id="a910_5" size="10" /></td> </tr> <tr> <td>911</td> <td>Boeing</td> <td><input name="a911_50" type="text" class="input_borderless" id="a911_50" size="10" /></td> <td><input name="a911_20" type="text" class="input_borderless" id="a911_20" size="10" /></td> <td><input name="a911_10" type="text" class="input_borderless" id="a911_10" size="10" /></td> <td><input name="a911_5" type="text" class="input_borderless" id="a911_5" size="10" /></td> </tr> <tr> <td>912</td> <td>Steelcase</td> <td><input name="a912_50" type="text" class="input_borderless" id="a912_50" size="10" /></td> <td><input name="a912_20" type="text" class="input_borderless" id="a912_20" size="10" /></td> <td><input name="a912_10" type="text" class="input_borderless" id="a912_10" size="10" /></td> <td><input name="a912_5" type="text" class="input_borderless" id="a912_5" size="10" /></td> </tr> <tr> <td>920</td> <td>Dynetics</td> <td><input name="a920_50" type="text" class="input_borderless" id="a920_50" size="10" /></td> <td><input name="a920_20" type="text" class="input_borderless" id="a920_20" size="10" /></td> <td><input name="a920_10" type="text" class="input_borderless" id="a920_10" size="10" /></td> <td><input name="a920_5" type="text" class="input_borderless" id="a920_5" size="10" /></td> </tr> <tr> <td>922</td> <td>Sparkman Center </td> <td><input name="a922_50" type="text" class="input_borderless" id="a922_50" size="10" /></td> <td><input name="a922_20" type="text" class="input_borderless" id="a922_20" size="10" /></td> <td><input name="a922_10" type="text" class="input_borderless" id="a922_10" size="10" /></td> <td><input name="a922_5" type="text" class="input_borderless" id="a922_5" size="10" /></td> </tr> <tr> <td>923</td> <td>Adtran East </td> <td><input name="a923_50" type="text" class="input_borderless" id="a923_50" size="10" /></td> <td><input name="a923_20" type="text" class="input_borderless" id="a923_20" size="10" /></td> <td><input name="a923_10" type="text" class="input_borderless" id="a923_10" size="10" /></td> <td><input name="a923_5" type="text" class="input_borderless" id="a923_5" size="10" /></td> </tr> <tr> <td>924</td> <td>Adtran North </td> <td><input name="a924_50" type="text" class="input_borderless" id="a924_50" size="10" /></td> <td><input name="a924_20" type="text" class="input_borderless" id="a924_20" size="10" /></td> <td><input name="a924_10" type="text" class="input_borderless" id="a924_10" size="10" /></td> <td><input name="a924_5" type="text" class="input_borderless" id="a924_5" size="10" /></td> </tr> <tr> <td>928</td> <td>Conoco - Hazel Green </td> <td><input name="a928_50" type="text" class="input_borderless" id="a928_50" size="10" /></td> <td><input name="a928_20" type="text" class="input_borderless" id="a928_20" size="10" /></td> <td><input name="a928_10" type="text" class="input_borderless" id="a928_10" size="10" /></td> <td><input name="a928_5" type="text" class="input_borderless" id="a928_5" size="10" /></td> </tr> <tr> <td>92a9</td> <td>Citgo - Hwy 72 East </td> <td><input name="a92a9_50" type="text" class="input_borderless" id="a92a9_50" size="10" /></td> <td><input name="a92a9_20" type="text" class="input_borderless" id="a92a9_20" size="10" /></td> <td><input name="a92a9_10" type="text" class="input_borderless" id="a92a9_10" size="10" /></td> <td><input name="a92a9_5" type="text" class="input_borderless" id="a92a9_5" size="10" /></td> </tr> <tr> <td>930</td> <td>Jackson County Hospital </td> <td><input name="a930_50" type="text" class="input_borderless" id="a930_50" size="10" /></td> <td><input name="a930_20" type="text" class="input_borderless" id="a930_20" size="10" /></td> <td><input name="a930_10" type="text" class="input_borderless" id="a930_10" size="10" /></td> <td><input name="a930_5" type="text" class="input_borderless" id="a930_5" size="10" /></td> </tr> <tr> <td>931</td> <td>Chevron - Moore's Mill </td> <td><input name="a931_50" type="text" class="input_borderless" id="a931_50" size="10" /></td> <td><input name="a931_20" type="text" class="input_borderless" id="a931_20" size="10" /></td> <td><input name="a931_10" type="text" class="input_borderless" id="a931_10" size="10" /></td> <td><input name="a931_5" type="text" class="input_borderless" id="a931_5" size="10" /></td> </tr> <tr> <td>932</td> <td>Fayetteville Citgo</td> <td><input name="a932_50" type="text" class="input_borderless" id="a932_50" size="10" /></td> <td><input name="a932_20" type="text" class="input_borderless" id="a932_20" size="10" /></td> <td><input name="a932_10" type="text" class="input_borderless" id="a932_10" size="10" /></td> <td><input name="a932_5" type="text" class="input_borderless" id="a932_5" size="10" /></td> </tr> <tr> <td>933</td> <td>NASA</td> <td><input name="a933_50" type="text" class="input_borderless" id="a933_50" size="10" /></td> <td><input name="a933_20" type="text" class="input_borderless" id="a933_20" size="10" /></td> <td><input name="a933_10" type="text" class="input_borderless" id="a933_10" size="10" /></td> <td><input name="a933_5" type="text" class="input_borderless" id="a933_5" size="10" /></td> </tr> <tr> <td>934</td> <td>Sur-Sav Pharmacy </td> <td><input name="a934_50" type="text" class="input_borderless" id="a934_50" size="10" /></td> <td><input name="a934_20" type="text" class="input_borderless" id="a934_20" size="10" /></td> <td><input name="a934_10" type="text" class="input_borderless" id="a934_10" size="10" /></td> <td><input name="a934_5" type="text" class="input_borderless" id="a934_5" size="10" /></td> </tr> <tr> <td>935</td> <td>Building 5250 </td> <td><input name="a935_50" type="text" class="input_borderless" id="a935_50" size="10" /></td> <td><input name="a935_20" type="text" class="input_borderless" id="a935_20" size="10" /></td> <td><input name="a935_10" type="text" class="input_borderless" id="a935_10" size="10" /></td> <td><input name="a935_5" type="text" class="input_borderless" id="a935_5" size="10" /></td> </tr> <tr> <td>937</td> <td>DirecTV</td> <td><input name="a937_50" type="text" class="input_borderless" id="a937_50" size="10" /></td> <td><input name="a937_20" type="text" class="input_borderless" id="a937_20" size="10" /></td> <td><input name="a937_10" type="text" class="input_borderless" id="a937_10" size="10" /></td> <td><input name="a937_5" type="text" class="input_borderless" id="a937_5" size="10" /></td> </tr> <tr> <td>938</td> <td>Huntsville Hospital </td> <td><input name="a938_50" type="text" class="input_borderless" id="a938_50" size="10" /></td> <td><input name="a938_20" type="text" class="input_borderless" id="a938_20" size="10" /></td> <td><input name="a938_10" type="text" class="input_borderless" id="a938_10" size="10" /></td> <td><input name="a938_5" type="text" class="input_borderless" id="a938_5" size="10" /></td> </tr> <tr> <td>93a9</td> <td>Shell - Ardmore </td> <td><input name="a93a9_50" type="text" class="input_borderless" id="a93a9_50" size="10" /></td> <td><input name="a93a9_20" type="text" class="input_borderless" id="a93a9_20" size="10" /></td> <td><input name="a93a9_10" type="text" class="input_borderless" id="a93a9_10" size="10" /></td> <td><input name="a93a9_5" type="text" class="input_borderless" id="a93a9_5" size="10" /></td> </tr> <tr> <td>951</td> <td>Joe's Pharmacy </td> <td><input name="a951_50" type="text" class="input_borderless" id="a951_50" size="10" /></td> <td><input name="a951_20" type="text" class="input_borderless" id="a951_20" size="10" /></td> <td><input name="a951_10" type="text" class="input_borderless" id="a951_10" size="10" /></td> <td><input name="a951_5" type="text" class="input_borderless" id="a951_5" size="10" /></td> </tr> <tr> <td>965</td> <td>Redstone Lanes </td> <td><input name="a965_50" type="text" class="input_borderless" id="a965_50" size="10" /></td> <td><input name="a965_20" type="text" class="input_borderless" id="a965_20" size="10" /></td> <td><input name="a965_10" type="text" class="input_borderless" id="a965_10" size="10" /></td> <td><input name="a965_5" type="text" class="input_borderless" id="a965_5" size="10" /></td> </tr> <tr> <td>966</td> <td>5 Points East</td> <td><input name="a966_50" type="text" class="input_borderless" id="a966_50" size="10" /></td> <td><input name="a966_20" type="text" class="input_borderless" id="a966_20" size="10" /></td> <td><input name="a966_10" type="text" class="input_borderless" id="a966_10" size="10" /></td> <td><input name="a966_5" type="text" class="input_borderless" id="a966_5" size="10" /></td> </tr> <tr> <td>967</td> <td>5 Points West</td> <td><input name="a967_50" type="text" class="input_borderless" id="a967_50" size="10" /></td> <td><input name="a967_20" type="text" class="input_borderless" id="a967_20" size="10" /></td> <td><input name="a967_10" type="text" class="input_borderless" id="a967_10" size="10" /></td> <td><input name="a967_5" type="text" class="input_borderless" id="a967_5" size="10" /></td> </tr> <tr> <td>968</td> <td>Winchester Rd South </td> <td><input name="a968_50" type="text" class="input_borderless" id="a968_50" size="10" /></td> <td><input name="a968_20" type="text" class="input_borderless" id="a968_20" size="10" /></td> <td><input name="a968_10" type="text" class="input_borderless" id="a968_10" size="10" /></td> <td><input name="a968_5" type="text" class="input_borderless" id="a968_5" size="10" /></td> </tr> <tr> <td>970</td> <td>Blue Roof Cafe</td> <td><input name="a970_50" type="text" class="input_borderless" id="a970_50" size="10" /></td> <td><input name="a970_20" type="text" class="input_borderless" id="a970_20" size="10" /></td> <td><input name="a970_10" type="text" class="input_borderless" id="a970_10" size="10" /></td> <td><input name="a970_5" type="text" class="input_borderless" id="a970_5" size="10" /></td> </tr> <tr> <td>971</td> <td>Embassy Suites</td> <td><input name="a971_50" type="text" class="input_borderless" id="a971_50" size="10" /></td> <td><input name="a971_20" type="text" class="input_borderless" id="a971_20" size="10" /></td> <td><input name="a971_10" type="text" class="input_borderless" id="a971_10" size="10" /></td> <td><input name="a971_5" type="text" class="input_borderless" id="a971_5" size="10" /></td> </tr> <tr> <td>972</td> <td>Building 5220</td> <td><input name="a972_50" type="text" class="input_borderless" id="a972_50" size="10" /></td> <td><input name="a972_20" type="text" class="input_borderless" id="a972_20" size="10" /></td> <td><input name="a972_10" type="text" class="input_borderless" id="a972_10" size="10" /></td> <td><input name="a972_5" type="text" class="input_borderless" id="a972_5" size="10" /></td> </tr> <tr> <td>973</td> <td>Med Mall </td> <td><input name="a973_50" type="text" class="input_borderless" id="a973_50" size="10" /></td> <td><input name="a973_20" type="text" class="input_borderless" id="a973_20" size="10" /></td> <td><input name="a973_10" type="text" class="input_borderless" id="a973_10" size="10" /></td> <td><input name="a973_5" type="text" class="input_borderless" id="a973_5" size="10" /></td> </tr> <tr> <td>974</td> <td>Food Valu</td> <td><input name="a974_50" type="text" class="input_borderless" id="a974_50" size="10" /></td> <td><input name="a974_20" type="text" class="input_borderless" id="a974_20" size="10" /></td> <td><input name="a974_10" type="text" class="input_borderless" id="a974_10" size="10" /></td> <td><input name="a974_5" type="text" class="input_borderless" id="a974_5" size="10" /></td> </tr> <tr> <td>975</td> <td>Building 5400</td> <td><input name="a975_50" type="text" class="input_borderless" id="a975_50" size="10" /></td> <td><input name="a975_20" type="text" class="input_borderless" id="a975_20" size="10" /></td> <td><input name="a975_10" type="text" class="input_borderless" id="a975_10" size="10" /></td> <td><input name="a975_5" type="text" class="input_borderless" id="a975_5" size="10" /></td> </tr> <tr> <td>976</td> <td>Hwy 53 E</td> <td><input name="a976_50" type="text" class="input_borderless" id="a976_50" size="10" /></td> <td><input name="a976_20" type="text" class="input_borderless" id="a976_20" size="10" /></td> <td><input name="a976_10" type="text" class="input_borderless" id="a976_10" size="10" /></td> <td><input name="a976_5" type="text" class="input_borderless" id="a976_5" size="10" /></td> </tr> <tr> <td>978</td> <td>Athens/Limestone Hospital</td> <td><input name="a978_50" type="text" class="input_borderless" id="a978_50" size="10" /></td> <td><input name="a978_20" type="text" class="input_borderless" id="a978_20" size="10" /></td> <td><input name="a978_10" type="text" class="input_borderless" id="a978_10" size="10" /></td> <td><input name="a978_5" type="text" class="input_borderless" id="a978_5" size="10" /></td> </tr> </table> <input name="submit" type="submit" value="Submit" /> <input name="reset" type="reset" value="Reset" /> </form> Quote Link to comment Share on other sites More sharing options...
grejon04 Posted November 14, 2007 Share Posted November 14, 2007 Are you using a database to store this, or just using php as a email generation tool? Also, maybe the totaling function isn't working because you call the mail() function before the $a902_total is calculated. Try sending the email after all your totals are calculated. j Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.