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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:26:51+00:00 2026-05-26T19:26:51+00:00

I have two issues:- 1. I need to be able to set the value

  • 0

I have two issues:-
1. I need to be able to set the value of a textarea
2. I need to then get the value of the text area again for updating. I see that text area does not have a ‘value’ tag or something.. so I am not sure how to do this via PHP. I tried something like

print("<textarea cols='15' rows='2' name='textdesc'>$info_desc</textarea>");

to set it. But no luck and then i will have the same problem when retrieving.

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

    To set the value in HTML…

    <textarea cols="15" rows="2" name="textdesc"><?php echo htmlspecialchars(
        $info_desc, ENT_QUOTES, 'UTF-8') ?></textarea>
    

    To retrieve it (assuming your form issues a POST request)…

    if (isset($_POST['textdesc'])) {
        $textdesc = $_POST['textdesc'];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two CheckBoxLists and I need to be able to set the ListItems
I have two issues both related to (I believe) my SQL Server setup. I
I have found many people with simliar issues but no soultions...basically I have two
I have inherited a middle tier system with some multi-Threading issues. Two different threads,
I need to bea be able to use a static variable set in a
I have a project I need to be working on from two different computers,
I need to be able to determine if two sounds are very similar. The
Hi I'm new to JQuery. I have an two issues that I can't figure
Firstly, I'm totally javascript inept so please explain throughly. OK, I have two issues
I have a function that reads a text file containing two lines, it reads

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.