Jump to content


New Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About msugi002

  • Rank
  1. Hello, Thank you for your feedback. I checked to make sure that all the Variables were not empty. The form started working when I put values in the form, other than just zeroes. I then used Javascript so that the values will be displayed and sent in a way that will work best for the form (i.e. putting the dashes in the phone number). After working on it more I got it to finally work. Thank you! Also thank you for letting me know about the label tags.
  2. What I meant by that is that I used $mail->Username and $mail->Password to put in my e-mail and password. And all that info just popped up at the top of my website. I fixed it though, so it doesn't do that anymore. After changing the code some more, the form seems to be functioning, but now it only gives me the "Woops, something went wrong. Please Try Again" validation everytime I try sending it: <?php if (isset($_POST['submitButton'])) { require 'phpmailer/PHPMailerAutoload.php'; function sendemail($nm, $hp, $em, $mp, $ch, $mc){ //create an
  3. Thank you for your response, I have PHP downloaded on my computer, and I downloaded XAMPP, turned it on, and enabled the network and services (Apache included). I tested it out on a website I already have up, but now it just shows all of my e-mail info in the website (which I immediately changed). The submit button no longer sends me to an error page, but it didn't do anything. Does this mean I have to inquire with the hosting service I am using to see how I can fix this?
  4. Hello all, I am new to PHP and I am trying to find a successful way to send the contents of a form as an e-mail to an administrator e-mail address. I've followed a few tutorials on youtube, tried to connect things to each other using my prior knowledge on programming, and ended up with the following: (note: name of this file is "form.php", and I have changed information on this form for privacy reasons) <?php if (isset($_POST['submitButton'])) { require 'phpmailer/PHPMailerAutoload.php'; function sendemail($nm, $hp, $em, $mp, $ch, $mc){
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.