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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:31:24+00:00 2026-05-13T21:31:24+00:00

I don’t know what I’m talking about. Please tell me what I need to

  • 0

I don’t know what I’m talking about. Please tell me what I need to know. ^_^”
I would like to create an online test that sends the results to a certain email address, but I’m not sure how to begin. I think it’s possible to make textboxes and stuff with both Java and applets, or JavaScript, right? Which should I try working on?

I also want the test to change each time it’s ran, most likely based on a .txt or something that tells how to change the questions and answers. I’m not really sure how to make that work yet, either… I guess, using functions to say how to change things based on variables I use in a different file. Can javascript even read stuff from other places? So maybe it needs to be the applet thingy?

  • 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-13T21:31:24+00:00Added an answer on May 13, 2026 at 9:31 pm

    Here’s a quick example using HTML + PHP (forgoing javascript for simplicity)

    HTML Page (index.html):

    <html>
    <head>
    <title>My Cool Form</title>
    </head>
    <body>
    <!-- Set the action to the page that will handle the form data -->
    <form action = "thanks.php" method="post">
    <!-- The name attribute will be used by thanks.php later -->
    E-Mail: <input name="email" type="text"></input>
    <input type="submit" value="Submit"></input>
    </form>
    </html>
    

    thanks.php:

    <?php
    $to = "me@example.com"
    $from = "From: form-results@example.com";
    $subject = "Got a result from the form!";
    // Get the e-mail from the form
    $email = $_POST['email'];
    $body = "The persons e-mail is" . $email;
    
    // Send an e-mail to me@example.com 
    mail($to, $subject, $body, $from);
    
    ?>
    <html>
    <head>
    <title>Thank you :)</title>
    </head>
    <body>
    Thanks for your submition. We have added 
    <?php 
          echo $email;
    ?>
    to our mailing list!.
    </body></html>
    

    HTML is a markup language used to define your document and forms. This is used by your browser to create the webpage seen by your user.

    PHP is a server-sided language which runs on your server, not the users, that accesses data such as information from forms, databases, rss feeds, etc and then processes the data (for example mailing the form results to you) before sending the user a HTML document (like one that says thank you for you submition, latest blog posts from a database, etc).

    Find a nice free host and upload these files to see them in action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Don't need to do this right now but thinking about the future... What would
don't know if the title describes anything about what I'm trying to say but
Don't know why but font is not displaying.Please help. CSS(in css folder): style.css: @font-face
Don't know if I'm missing something here. I'd like to run multiple global variables
Don't know a whole lot about streams. Why does the first version work using
Don't know if it matters, but the msg.d is about 300 rows long. I
Don't get me wrong PDO is great but what I don't like about it,
Don't know much about encryption... Say I'm preparing a SAML request to submit to
don't know if this is possible.. I'm using sqlite3 schema: CREATE TABLE docs (id
Don't know if there is a better way to do this, so that is

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.