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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:57:22+00:00 2026-06-16T00:57:22+00:00

Okay so I am fairly new to web designing. How do I get the

  • 0

Okay so I am fairly new to web designing. How do I get the contact form on my current theme to work? This is the current html.

I need to know how to code the PHP file; is this correct?

<div class="form row-fluid clearfix">
    <div class="field span5">
        <label>Your name:</label>
        <input type="text" value="" class="req" placeholder="Placeholder text..." />
    </div>
    <div class="field span5">
        <label>Your email:</label>
        <input type="email" value="" class="req" />
    </div>
    <div class="clearfix">&nbsp;</div>
    <div class="field full">
        <label>Your comment:</label>
        <textarea class="span12" cols="2" rows="7"></textarea>
    </div>

    <button class="extruded"><span>Submit</span></button>
</div>

<?php
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$from = 'From: iclear'; 
$to = 'sales@tangledindesign.com'; 
$subject = 'Hello';
?>

And how do I link the PHP file for that contact 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-16T00:57:25+00:00Added an answer on June 16, 2026 at 12:57 am

    Step 1

    Wrap your fields with a form HTML element that has its action property set to your php processing page

    Step 2

    Name the form fields according to what the php file expects

    Step 3

    Add some validation

    Step 4

    Submit and test

    Example

    HTML

    <form action="process.php" method="post">
    First Name: <input type="text" name="first_name">
    <input type="submit">
    </form>
    

    PHP

    <?php
    $first_name=$_POST["first_name"];
    if($first_name=="John")
    {
      echo "Hi John!";
    }
    else
    {
       echo "Sorry Buddy, Don't really know you";
    }
    ?>
    

    Note

    The reason why i did not provide you a full solution is that you mentioned you are a newbie in that programming, and it would be injustice to just solve your problem and not guide you how to do it

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

Sidebar

Related Questions

Okay, so I'm fairly new to CakePHP. This is the setup: I've got a
Okay... I'm getting kind of desperate trying to get this code to work with
Okay, so first off, I'm fairly new to web design. But for a project
Okay, so this should be a simple question, but I'm fairly new at programming,
Okay, I'm fairly new to R and I've tried to search the documentation for
Okay, next PHPExcel question. I have an HTML form that users fill out and
Okay: I'm fairly new to C++ and static languages on a whole. Coming from
Okay, so I'm fairly new to model binding in MVC, really, and my question
Okay basically, I'm designing and developing a fairly complicated website which revolves around the
I'm fairly okay at programming so this is a wierd one for me... I'm

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.