Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

PHP Can Someone help me send this web form to "welcome.php" to my email address [email protected]

Code:
<form action="welcome" method="post" name="form" class="form-box">
 
<h1>Find Local Landscape Pros</h1>

  <!-- One "tab" for each step in the form: -->
 





  <div class="tab">Name:
    <p><input placeholder="First name..." oninput="this.className = ''" name="fname"></p>
    <p><input placeholder="Last name..." oninput="this.className = ''" name="lname"></p>
  </div>
 




 
 

<div class="tab">What Landscaping do you need:
  <p><label class="container">Artificial Grass
  <input type="checkbox" checked="checked">
  <span class="checkmark"></span>
</label>



<label class="container">Landscape Lighting
  <input type="checkbox">
  <span class="checkmark"></span>
</label>



<label class="container">Drip Irrigation
  <input type="checkbox">
  <span class="checkmark"></span>
</label>


<label class="container">Concrete/Pavers
  <input type="checkbox">
  <span class="checkmark"></span>
</label>



<label class="container">Plants/Trees
  <input type="checkbox">
  <span class="checkmark"></span>
</label>

<label class="container">Full Landscape Design
  <input type="checkbox">
  <span class="checkmark"></span>
</label>


<label class="container">Other
  <input type="checkbox">
  <span class="checkmark"></span>
</label>


</p></div>


 




  <div class="tab">Message for Contractor C-27:
    <p><input placeholder="message" oninput="this.className = ''" name="message"></p>
   

  </div>
  
<div class="tab">Contact Info:
    <p><input placeholder="E-mail..." oninput="this.className = ''" name="email"></p>
    <p><input placeholder="phone..." oninput="this.className = ''" name="phone"></p>
  </div>


    <div class="tab">Project Discription:
    <p><input placeholder="message" oninput="this.className = ''" name="message"></p>
 
  </div>
 





<div class="tab">Contact Info:
    <p><input placeholder="zipcode:..." oninput="this.className = ''" name="zipcode/.3333"></p>
    <p><input placeholder="Address..." oninput="this.className = ''" name="Adress"></p>
  </div>



<p>California Landscape Contractors Lic. Class is C-27</p><br>
Check a Contractors Lic. number here

<button><a href="https://www.cslb.ca.gov/onlineservices/checklicenseII/checklicense.aspx">Active Lic.</a></button>








  <div style="overflow:auto;">
    <div style="float:right;">
      <button type="button" id="prevBtn" onclick="nextPrev(-1)">Previous</button>
      <button type="button" id="nextBtn" onclick="nextPrev(1)">Next</button>
    </div>
 







  </div>
  <!-- Circles which indicates the steps of the form: -->
  <div style="text-align:center;margin-top:40px;">
    <span class="step"></span>
    <span class="step"></span>
    <span class="step"></span>
    <span class="step"></span>
    <span class="step"></span>
    <span class="step"></span>
  </div>
</form>
 
Last edited by a moderator:
I finished it it was very easy @simong1993 thanks for the help I also watched this video
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
.
I'm glad you figured it out! Does this use mail() function?
One thing worth noting is that not all servers support default mail(). For example, at our company we often use phpMailer, a class that allows us to handle mailing with easy to change settings. It allows for more flexibility, proper headers, HTML/non-HTML versions of mail, and more. You should check it out the next time you have to send email
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom