Search results

  1. D

    Disable/Enable dropdown menu onChange

    I was able to figure it out after a week of errors lol. This was added to the JS file function Enablemake(){ var x=document.getElementById("make") x.disabled=false } function Enablemodel(){ var x=document.getElementById("model") x.disabled=false } function...
  2. D

    Disable/Enable dropdown menu onChange

    I am not a fan of javascript/ajax so I am hoping someone can help me out. I am offering 500 credits to the first to add enable/disable coding to the following code. When someone selects the year it needs to enable the make and so on. This is the js file named myjs.js var request = false...
  3. D

    php / ajax variables

    I am a little lost when it comes to MySQL and ajax. I have been trying to figure this out for a few hours and I am hoping someone here could give me a hand. I am working with the code below that was given to me by fellow site owner. At the bottom of the code i need $sendlink to = the link...
  4. D

    MySql problems

    I have been trying to get this code working and I have hit a stand still. I do not know if it is by my error or the way I am coding the js. Currently it loads correctly half the time and the other half the form shows blank and the load time of each box is slow. If I refresh the page it does...
  5. D

    Transfer form data

    I found a solution but I had to make some small changes to my site . Below is the code I used if anyone has been following this post. if (array_key_exists('go',$_POST)) { if ($_POST['go']=="SendQuery") { $year = $_POST['year']; $model = $_POST['model']; $make =...
  6. D

    Transfer form data

    I have a vehicle selection form that auto fills from a database. When someone selects the year it fills in all vehicle makes and so on. The form submits to a php file which checks the database and links to a set shopping cart page. I am trying to find a way to do this without having to send...
  7. D

    MYSQL/PHP Code

    Only admins can close threads thus the reason i placed you may close this thread for the admins to see. What is with all the strong criticism and remarks today. This is usually such a friendly environment.
  8. D

    MYSQL/PHP Code

    I would like to thank those that helped me our on messenger. Yes some people are willing to talk on messenger and make new friends and help people out. I would have no problem talking to anyone on messenger. I did not want a zip file with my php coding available to everyone. The coding I...
  9. D

    MYSQL/PHP Code

    If it was a easy thing to post i would. It is 5 files that work together it is much easier to work with someone one on one rather than create 3 posts because of the size of the files.
  10. D

    need help with CGI Email

    Place this code in a file called send_email.php <?php $names = strip_tags($_POST["names"]); $emails = strip_tags($_POST["e-mails"]); $phones = strip_tags($_POST["phones"]); $methods = strip_tags($_POST["methods"]); $comment = strip_tags($_POST["comment"]); $message = "<html><body>"; $message...
  11. D

    MYSQL/PHP Code

    I have a form that I need some things added to. I am willing to give 500 credits to the first person to contact me on windows messenger and help me with the additions. Username liffesucks@hotmail.com
  12. D

    syntax error

    It is always the smallest things that drive me nuts. Thanks the code is working without error. You may close this thread
  13. D

    syntax error

    i am receiving a syntax error in this chunk of coding and for some reason I can not find it. I am hoping a second set of eyes or someone a little better at php could help me. If there is an easier way or better way of doing this please let me know. <?php include('cart_form.php')...
  14. D

    Javascript form to PHP

    I worked with a couple members in programming help board to create the form. You can close this thread.
  15. D

    PHP Calculations

    I am fixing some things I was trying to do to many things at once. I just fixed the form so that it pops up using a different script Everything is working great and I thank all of you for the help.
  16. D

    PHP Calculations

    Ill post again when I can test everything for some reason my server is down again.
  17. D

    PHP Calculations

    I am still receiving errors you can see the form here. http://driveflexfuel.com/TEST/savings/Form Sample.php Im not sure how I should complete the calculation to that they =0 if they are negative.
  18. D

    PHP Calculations

    /mileage loss when using ethanol $E85Percent = ($MPGGAS / ($MPGGAS * .87)); //cost to fill with gasoline $GASTank = ($GASPrice * $Tank); //used due to error when programmed in javascript $E85 = ($Ethanol * 2) / 2; //cost to fill tank with ethanol...
  19. D

    PHP Calculations

    I had to make a couple adjustments so that the code would operate properly and everything would display. Everything is still coming up as 0 and I cannot figure out why. [code] <?php // This is the input from the form -> php variables $GASPrice = strip_tags($_POST["GASPrice"]); $Ethanol =...
Top