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

  • Home
  • SEARCH
  • 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 412817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:07:21+00:00 2026-05-12T18:07:21+00:00

I’m still pretty new to php so I’m a little shaky on getting the

  • 0

I’m still pretty new to php so I’m a little shaky on getting the post value for things across pages.

I have an online application that I am making and so far its mostly working but im running into a problem with 3 fields that seem to not want to transfer over no matter what I do.

I have other variable I’m getting in what i see to be the exact same way that are working fine and yet these three are giving me trouble

Can anyone point out what I’m doing wrong?

php code thus far

$notes = $_POST["notes"];

echo "<br>experince <br>";
echo $experince = $_POST["exp"];<--------------

$education = $_POST["education"];
echo "<br>clearnce <br>";
echo $clearance = $_POST["clearance"]; <-----------------
echo "<br>jobname <br>";
echo $jobname = $_POST["jobname"];<--------------

$name = $_POST["username"];
$phone= $_POST["phone"];
$email= $_POST["email"];
$avail =$_POST["availability"];
$subject = "New Online Application: $jobname " ;
$subject .= rand(1000,9999);

the html/php code that the valuses come from

Select a Level of Education:<br />
    <select name="education">
        <option value="None">None</option>
        <option value="HighSchool">HighSchool</option>
        <option value="BA/BS">BA/BS</option>
        <option value="MA/MS">MA/MS</option>
        <option value="MBA">MBA</option>
        <option value="Ph.D">Ph.D</option>
        <option value="Other">Other</option>
    </select>
    <br>
    <br>
        Years of Experince:<br />
    <select name="exp">
        <option value="0-4">0-4</option>
        <option value="5-10">5-10</option>
        <option value="11-20">11-20</option>
        <option value="20+">20+</option>
    </select>
    <br>
    <br>
    Select a Clearance Level:<br />
    <select name="clearance">
        <option value="None">None</option>
        <option value="Confidential">Confidential</option>
        <option value="Secret">Secret</option>
        <option value="Top Secret">Top Secret</option>
        <option value="TS/SCI">TS/SCI</option>
        <option value="TS/SCI Counter Inteligence Polygraph">TS/SCI Counter Inteligence Polygraph</option>
        <option value="TS/SCI Full Scope Polygraph">TS/SCI Full Scope Polygraph</option>
        <option value="Other">Other</option>
    </select>
    <br>
    <br>
    Select Job your Intrested in:<br>
    <?php
    $files = glob("./jobops/*.pdf");
    sort($files);
    print("<select name=\"jobname\">");
    foreach ($files as &$file)
    {
        $Jobname =substr($file,0,strlen($file)-4);
        $Jobname = str_replace("./jobops/","",$Jobname);
        print("<option value=\"$Jobname\">$Jobname</option>\r\n");
    }
    print("<option value=\"Other\">Other</option>");
    print("</select>");
    ?>
    <br>
  • 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-12T18:07:22+00:00Added an answer on May 12, 2026 at 6:07 pm

    it would help if you posted the rest of your form code. anyways, something worth trying as the first level of debugging with forms is the following code on the page you are posting to:

    <pre>
    <?php print_r($_POST);?>
    </pre>
    

    This will at least make it clear what variables are being POSTed to your script

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I'm trying to create an if statement in PHP that prevents a single post
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
I have a jquery bug and I've been looking for hours now, I can't

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.