|
-
Aug 29th, 2002, 09:22 AM
#1
Thread Starter
Member
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...
-
Aug 29th, 2002, 09:31 AM
#2
Stuck in the 80s
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?
-
Aug 29th, 2002, 09:34 AM
#3
Fanatic Member
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
-
Aug 29th, 2002, 10:09 AM
#4
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|