Craptacular Posted August 19, 2013 Share Posted August 19, 2013 Hey guys, So I am adding to an already existing Shipping quote form and backend reply system. I basically just added one new item, tested if it was working on the front and backend (which it was), and then proceeded to add the other new items. BUT for some reason the database is not being populated. HOWEVER when the automated email is sent after the customer asks for a quote via this system, it shows all the correct information, but yet the database isn't showing anything, and the backend reply system doesn't show that they selected an item to get a quote on (if they select one, or all of the 6 new items). I know it's something silly I'm missing, but I am just not seeing it, and I have spent at least two days trying to find the issue! PLEASE HELP me! Thanks so much! (Sorry it's so much code in this post, I wanted to make sure I included it all so you can see what's all going on. I am only having issues with the Gun Vault Products GV2000S, GVB2000, GV3000, GVB3000, NV300, BB3000, the rest of the items work perfectly. I have attached the scripts.) So here is the HTML: <div class="gunvaults" style="float: left; margin-bottom: 1em;"> <!--BEGIN GUN VAULTS--> <h4 style="font-weight: bold; text-decoration: underline; margin-left: 1em;">Gun Vault Products</h4> <div class="ship-wrap"> <div class="checkbox"><label for="sv500"><input type="checkbox" name="sv500" id="sv500" /> Model SV500</label></div> <div id="quantity-21" class="quantity"><label for="quantity-sv500">Quantity: </label> <select name="quantity-sv500" id="quantity-sv500"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="svb500"><input type="checkbox" name="svb500" id="svb500" /> Model SVB500</label></div> <div id="quantity-22" class="quantity"><label for="quantity-svb500">Quantity: </label> <select name="quantity-svb500" id="quantity-svb500"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="gv1000s"><input type="checkbox" name="gv1000s" id="gv1000s" /> Model GV1000S</label></div> <div id="quantity-23" class="quantity"><label for="quantity-gv1000s">Quantity: </label> <select name="quantity-gv1000s" id="quantity-gv1000s"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="gv1000d"><input type="checkbox" name="gv1000d" id="gv1000d" /> Model GV1000D</label></div> <div id="quantity-24" class="quantity"><label for="quantity-gv1000d">Quantity: </label> <select name="quantity-gv1000d" id="quantity-gv1000d"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="gv2000s"><input type="checkbox" name="gv2000s" id="gv2000s" /> Model GV2000S</label></div> <div id="quantity-25" class="quantity"><label for="quantity-gv2000s">Quantity: </label> <select name="quantity-gv2000s" id="quantity-gv2000s"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="gvb2000"><input type="checkbox" name="gvb2000" id="gvb2000" /> Model GVB2000</label></div> <div id="quantity-26" class="quantity"><label for="quantity-gvb2000">Quantity: </label> <select name="quantity-gvb2000" id="quantity-gvb2000"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="gv3000s"><input type="checkbox" name="gv3000s" id="gv3000s" /> Model GV3000S</label></div> <div id="quantity-27" class="quantity"><label for="quantity-gv3000s">Quantity: </label> <select name="quantity-gv3000s" id="quantity-gv3000s"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="gvb3000"><input type="checkbox" name="gvb3000" id="gvb3000" /> Model GVB3000</label></div> <div id="quantity-28" class="quantity"><label for="quantity-gvb3000">Quantity: </label> <select name="quantity-gvb3000" id="quantity-gvb3000"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="nv300"><input type="checkbox" name="nv300" id="nv300" /> Model NV300</label></div> <div id="quantity-29" class="quantity"><label for="quantity-nv300">Quantity: </label> <select name="quantity-nv300" id="quantity-nv300"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> <div class="ship-wrap"> <div class="checkbox"><label for="bb3000"><input type="checkbox" name="bb3000" id="bb3000" /> Model BB3000</label></div> <div id="quantity-30" class="quantity"><label for="quantity-bb3000">Quantity: </label> <select name="quantity-bb3000" id="quantity-bb3000"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5+">5+</option> </select></div> </div> </div><!--/gun vaults--> </div><!--/shipping models--> The script that talks with the HTML shipping form (the above html) is called shippingQuote.php, and the script for displaying the requested items (the backend quoting system) and the backend replying area is called single.php and then the reply script after the quote is complete is called reply.php. (Now the following scripts have ALL products included, but I am only having issues with the Gun Vault Products: GV2000S, GVB2000, GV3000, GVB3000, NV300, BB3000). shippingQuote.php single.php reply.php Link to comment https://forums.phpfreaks.com/topic/281365-i-seriously-cannot-figure-out-whats-wrong-with-this-edited-files/ Share on other sites More sharing options...
.josh Posted August 19, 2013 Share Posted August 19, 2013 hi. please do not make multiple threads asking the same thing. Link to comment https://forums.phpfreaks.com/topic/281365-i-seriously-cannot-figure-out-whats-wrong-with-this-edited-files/#findComment-1445825 Share on other sites More sharing options...
Recommended Posts