Jump to content

[SOLVED] Displaying data retieved from a database in a scrollbox in a form


Johnain

Recommended Posts

Hi

I am using XHTML (T).

 

I am successfully retrieveing data from a MySQL database field of type Text.

 

I want to show it in a form so a user can edit it and then I can save it back to my table.

 

However I can only see two tab types that might be relevant.

 

1. <input> that lets me assign an initial value but will not allow me to specify columns or rows.

 

2. <textbox> That will give me rows, columns and scrolling - but will not let me assign an initial value.

 

Am I missing something? Is there a simple solution?

 

Regards

 

John

<textarea>Data goes here</textarea>

Thanks Haku, I really appreciate that.

 

By the way, in case you are wondering whether I feel a complete plonker, the answer is yes. I do. Talk about the obvious.

 

But thanks again

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.