View previous topic :: View next topic |
Author |
Message |
mjjk91 -
Joined: 03 Feb 2004 Posts: 75 Location: Australia
|
Posted: Mon Mar 29, 2004 4:35 am Post subject: Retrieving Data From MySQL and Inserting Into a Table |
|
|
G'Day Everyone,
Quick Question. I have successfully retrieved information from a database, and have shown it on a webpage, but for looks purposes, i want to show the information in a series of textfields. At the moment, it just outputs to the screen as normal text. Does anyone know any way of doing this?
Cheers
Mick Koch |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Mar 29, 2004 7:51 pm Post subject: |
|
|
Hi mjjk91,
Just use text area tags and insert the variable name for your info:
Code: | echo"<textarea rows=2 cols=30 name="description">$variablename</textarea>";
| You'll have to adjust the rows and cols to fit, of course. :wink: |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon Mar 29, 2004 10:42 pm Post subject: |
|
|
Or you can use text fields:
Code: | <form>
<input type="text" value="$variable1">
<input type="text" value="$variable2">
<input type="text" value="$variable3">
</form> |
_________________ Bienvenidos! |
|
Back to top |
 |
 |
|