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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:56:01+00:00 2026-06-04T05:56:01+00:00

I am at my wits end here, I am positive that this is some

  • 0

I am at my wits end here, I am positive that this is some ridiculous typing error, or I have forgotten to write something.

Anyway I am trying to send data from a form that is inside a twitter bootstrap modal to a file called ‘processed.php’ which uses the PHPMailer script.
However when I submit the form no data is passed to the query string the url just changes to ‘/processed.php?’

If anyone could shed some light on it I’d appreciate it very much.

Here’s the code:

HTML FIRST:

     <div class="modal-body">
        <form id="send-msg" method="GET" action="processed.php">
            <fieldset>
                <div class="control-group">
                    <label class="control-label" for="inputNavn">Navn:</label>
                    <div class="controls">
                        <input type="text" class="input-medium required" id="inputNavn">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputTlf">Telefon nummer:</label>
                    <div class="controls">
                        <input type="text" class="input-medium required" id="inputTlf">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputMsg">Besked:</label>
                    <div class="controls">
                        <textarea class="input-large required" id="inputMsg" rows="3"></textarea>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn btn-primary btn-large" id="inputSend" href="#" rel="popover" data-content="Vi vender tilbage hurtigst muligt." data-original-title="Send besked" data-loading-text="Sender besked…">Send besked</button>
                    </div>
                </div>
            </fieldset>
        </form>
        <div id="results" class="alert alert-info span2">
            <p>Udfyld venligst alle felter.</p>
        </div>
    </div>

Now the PHP:

<?php

$navn= $_REQUEST['inputNavn'];
$tlf= $_REQUEST['inputTlf'];
$besked= $_REQUEST['inputMsg'];

require_once('PHPMailer/class.phpmailer.php');
...(The rest is just the PHPMailer script)

echo $navn;
?>

Anyway I am not getting anything in the querystring.
Hope someone can help me.

Thanks alot in advance!

  • 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-04T05:56:02+00:00Added an answer on June 4, 2026 at 5:56 am

    I think that you need to add a name attribute to the input so that the value is submitted e.g.

    <input type="text" class="input-medium required" id="inputNavn">
    

    should be

    <input type="text" class="input-medium required" id="inputNavn" name="inputNavn">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am at my wits end here. I'm sure this is something simple and
I'm at my wits end, and it's probably something really simple. Basically I've have
This is my first post here and as I am at my wits end
I'm at wits-end with this issue in IE. I have an element with the
I'm at my wits end trying to solve this one. I have scripts and
I've been poring over this for hours, and at my wits' end. I have
Hi I am at my wits end with what I am doing wrong here.
I am now at my wits end. here's what i want to know, how
I have a very simple arithmetic operator but am at my wits end why
I'm beginning to get to my wit's end on this one. I have Jenkins

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.