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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:48:35+00:00 2026-05-29T19:48:35+00:00

I have two text inputs and I am trying to insert their values into

  • 0

I have two text inputs and I am trying to insert their values into my SQL database, but for some reason when i preset the input tags with any value ( numeric or alphabetical ) my ‘$_POST’ if statements fail to pick them up on the next page.

<form action="select-process2.php" method="post" name="phoneselect">  

<td><input name="B1-Name" maxlength="40" type="text" value="999" disabled="disabled"/></td>
<td><input name="B1-Target" maxlength="15" type="text" value="999" disabled="disabled"/></td>

</form>

select_process2.php is where I try and capture the posted values from my form, the code for which is below:

        if (isset($_POST['B1-Name']))
            { $B1name = $_POST['B1-Name'];

                if (isset($_POST['B1-Target']))
                { $B1target = $_POST['B1-Target'];
    }
}

echo "$B1name<br />";
echo "$B1target<br />";

Its at this point that I would normally see the passed values of my inputs, however if they have the reset value=”999″ like in the earlier code block it simply fails and I can’t see why, does anyone have any ideas?

  • 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-29T19:48:37+00:00Added an answer on May 29, 2026 at 7:48 pm

    The fields are disabled so they won’t be included in the submitted data.

    You might be looking for readonly instead.

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

Sidebar

Related Questions

Hello I have two text inputs which get their values from a datepicker. What
i have two text inputs like the following, i don't want to use <form>
How can i achieve this using jQuery. I have two text inputs on the
I'm trying to insert records into DB using AJAX. I'm not sure why, but
I've been trying to write Jquery code to check if two inputs have the
I have two input text boxes which are decimal. The sum of the two
I have a form with two text_fields: <input type=text id=post_name name=post[name] /> <input type=text
I have two text boxes t1 and t2 in an html page. I'd like
I have two text files that contain columnar data of the variety position -
I have two text fields in my view. I did it using IB. My

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.