Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6566971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:16:51+00:00 2026-05-25T14:16:51+00:00

I am a web designer, and dont really know much about PHP. I have

  • 0

I am a web designer, and dont really know much about PHP. I have a form, and I want the values to be sent to three email addresses.

Here is my HTML:

<form id="player" method="post" action="process.php">

    <label for="name">Your Name</label>
    <input type="text" name="name" title="Enter your name" class="required">

    <label for="phone">Daytime Phone</label>
    <input type="tel" name="phone" class="required">

    <label for="email">Email</label>
    <input type="email" name="email" title="Enter your e-mail address" class="required email">


    <input type="submit" name="submit" class="button" id="submit" value="I'd like to join Now" />

</form>

I have somehow found a PHP code that should send the data to ONE email address only, but I dont even know if it works or not.

Here is the code for that:

<?php
// Get Data 
$name = strip_tags($_POST['name']);
$email = strip_tags($_POST['email']);
$phone = strip_tags($_POST['phone']);
$url = strip_tags($_POST['url']);
$message = strip_tags($_POST['message']);

// Send Message
mail( "you@youremail.com", "Contact Form Submission",
"Name: $name\nEmail: $email\nPhone: $phone\nWebsite: $url\nMessage: $message\n",
"From: Forms <forms@example.net>" );
?>

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:16:51+00:00Added an answer on May 25, 2026 at 2:16 pm

    Add headers

     <?php
     // Get Data 
     $name = strip_tags($_POST['name']);
     $email = strip_tags($_POST['email']);
     $phone = strip_tags($_POST['phone']);
     $url = strip_tags($_POST['url']);
     $message = strip_tags($_POST['message']);
    
     $headers .="From: Forms <forms@example.net>";
     $headers .="CC: Mail1 <Mail1@example.net>";
     $headers .=", Mail2 <Mail2@example.net>";
    
     // Send Message
     mail( "you@youremail.com", "Contact Form Submission",
     "Name: $name\nEmail: $email\nPhone: $phone\nWebsite: $url\nMessage: $message\n",
      $headers );
     ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to Switch from Web Designer to Front End Developer or web developer
Firstly: I'm a lowly web designer who knows just enough PHP to be dangerous
I am a web designer and developer but I don't know any scripting language.
Our web-designer just finished up our site, and it has an HTML Form with
Recently our newest web designer asked me why we use ASP.NET for our website.
I am a junior web designer who has fair amount of knowledge in photoshop,
Are Regular Expressions useful for a Web Designer (XHTML/CSS)? Can a web designer get
I'm a fairly inexperienced web designer learning css/html on the fly for a company's
I am more a web programmer than a designer, but currently my job requires
So i created a web site a long time ago using a designer alot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.