Results 1 to 4 of 4

Thread: text boxes

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2002
    Location
    CT
    Posts
    62

    text boxes

    Is there a way in PHP that I can pull info from a database and store it in a textbox on the screen? The way I am doing it right now is im pulling it to a table and then using a drop down menu to select the item I want to change. This is annoying if you want to change multiple items. If i could pull them all to text boxes which are editable and then just click submit I could make multiple corrections at the same time... much more user friendly.. thanks
    Sometimes the simplest things are the hardest...

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    So use an input box instead of a select?

    Code:
    <input type="text" name="name" value="value">
    Unless I don't understand what you're asking?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    The best way in my opinion is to have one form which displays the titles of each database entry next to a checkbox with a sumbit button at the very bottom.

    Select which ones you wish to update/modify/change, when you click submit it will show a new page with the entries you selected earlier in <textarea> boxes ready for editing.

    -Matt
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2002
    Location
    CT
    Posts
    62

    yeah

    Yeah, putting it in text boxes is what i needed.. all i need to do now is play with the formatting and that should be what i want... thanks for the help.. it never occurred to me to do it that way.. still very new to php.. thanks
    Sometimes the simplest things are the hardest...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width