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 8013087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:32:12+00:00 2026-06-04T19:32:12+00:00

I have a simple php mail form whcih sends an email to the admin

  • 0

I have a simple php mail form whcih sends an email to the admin but at the moment it is just coming through as a standard looking text.

I need it so it comes through in a table with each section from the form on a new row in the table.

Also it is using some radio buttons for some options on the form. Is it possible for the radio button sections to come through as the example below.

Renewed Framework Assessments | “Radio button selected”

Renewed Framework Assessments 2 | “Radio button selected”

Renewed Framework Assessments 3 | “None”

And if so if an option for the radio button was selected it would be “GREEN” if nothing was selected it says “NONE” and is in red.

This is the code I am using at the moment:

<?php

  $email = $_REQUEST['email'] ;
  $name = $_REQUEST['name'] ;
  $radio1 = $_REQUEST['radio1'] ;
  $radio2 = $_REQUEST['radio2'] ;
  $radio3 = $_REQUEST['radio3'] ;
  $radio4 = $_REQUEST['radio4'] ;
  $address = $_REQUEST['address'] ;
  $postcode = $_REQUEST['postcode'] ;
  $tel = $_REQUEST['tel'] ;


  mail( "email@domain.com", "APPROVAL REQUEST FORM",  "Renewed Framework Assessments: $radio1\nSP Assessment Analysis Program (Demo Version): $radio2\nRenewed Framework Mental Maths Assessments: $radio3\nRenewed Framework Word Problem Books: $radio4\nFrom: $name\nEmail: $email\nAddress: $address\nPostcode: $postcode\nTelephone Number: $tel\n",'From: order@mathsbooksforchildren.co.uk');

  header( "Location: http://domain.com/approval-request-form/" );

?>
  • 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-06-04T19:32:13+00:00Added an answer on June 4, 2026 at 7:32 pm

    You can format your message in this way….

         $headers  = "From: order@mathsbooksforchildren.co.uk\r\n"; 
         $headers .= "Content-type: text/html charset=iso-8859-1 \r\n"; 
         $message = '
        <html>
        <head>
          <title>Some title</title>
        </head>
        <body>
          <table>
         <tr><td>Email</td><td>'.$email.'</td></tr>
         <tr><td>Email</td><td>'.$email.'</td></tr>
         <tr><td>Nema</td><td>'.$name.'</td></tr>
         <tr><td>Radio1</td><td>'.$radio1.'</td></tr>
         <tr><td>Radio1</td><td>'.$radio3.'</td></tr>
          </table>
        </body>
        </html>'
    
        ';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple php script on my domain that sends me an email:
I have a PHP mail script that successfully sends emails to everything BUT GMail
I have a simple email form: <form method=post action=process-form.php id=emailForm name=emailForm target=_self> <h4>Sign up
i have developed a simple php contact form, that's working fine, but i am
I have a simple php email form where the form is validated and submitted
I'm trying to create a simple message form using navigateToURL() and PHP mail(). But
I have a simple PHP script that sends a message to a specified email
i have made a simple php contact form following this tutorial: http://www.catswhocode.com/blog/how-to-create-a-built-in-contact-form-for-your-wordpress-theme The big
I have simple form. <form target=_blank action=somescript.php method=Post id=simpleForm> <input type=hidden name=url value=http://...> <input
I have a very simple form where users can enter their email and click

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.